-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After Diff head option, the tab caption changed to Diff:.. #22
Comments
no repro on Windows. maybe this is macOS only CudaText bug? cudatext_cXbIQ8mWbB.mp4 |
This comment was marked as outdated.
This comment was marked as outdated.
reproduced on macOS vm.
but on Windows/Linux: new tab is created and then renamed. |
What is bug repro?
on Linux I see that new tab has title 'Diff...'. what is bad? |
bug is on macOS, not on Linux. |
workaround attempt: 398adf3 If you still have "Diff: ..." this is because it is saved inside "history files.json" as "cap" key. @Alexey-T question: how can we easily forget tab title saved in "cap" key in "history files.json"? clearing Recent Files command will do it, but it also clears Bookmarks! (is it OK? i don't think so) |
either clear tab title via API, or clear the history. yes, it clears bookmarks. |
then maybe it should be renamed to "Clear recent files and bookmarks"? |
code of clearing is doing simple deletion of file. not easy to change it to delete only some JSON keys. so i will rename to 'clear recent files+bookmarks'. |
@JairoMartinezA changed workaround to use timer instead of app_idle(True). I tested - all ok. can you test? |
@Alexey-T , changed and it works good on macOS! (updated both of my plugins with this change) PS: why it works differently? file_open and cmd_FileNew |
cmd_FileNew runs this formmain.pas
here I added ProcessMessages- better? |
i will test later. |
Excuse me Team, timezones differences of the flat earth 😸 I am getting up of bed. Testing. UPDATE |
file_open('') - works |
let's try here: app/proc_cmd.pas, comment
|
I pushed this new fix to git. pull + try it. |
yes, this is it! |
Hi @veksha
Basically
The text was updated successfully, but these errors were encountered: