Linux+++; auto reload of changed files

Post Reply
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Linux+++; auto reload of changed files

Post by tmsg »

I have now installed Cud on my Linux boxes: pretty straightforward and it works. :D This is one of the main strengths, IMHO, of CudaText that it's cross-platform. I am sick and tired of having to switch editors when I switch platforms and now I don't have to :!:

I have also looked a bit more into my "problem" with Cud reloading files that have been changed outside of it. The editor does indeed reload a file on its own (ie without asking the user) but only if the file in Cud has no unsaved changes. If there are unsaved changes it asks. I am not entirely comfortable with that auto-reload-if-unchanged approach, I'd much rather have an explicit query pop up every time the file was changed externally. That's probably just me.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

I didnt reply to this at 1st time, because it got lost in that big topic, forgot it.
ok, I agree it is good to ask. will add the option for this.

ps. I like your English, so maybe you can write a review (eg at MacUpdate.com)?
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

Alexey wrote:I didnt reply to this at 1st time, because it got lost in that big topic, forgot it.
No worries. An option for that would be nice.
Alexey wrote:ps. I like your English, so maybe you can write a review (eg at MacUpdate.com)?
I can do that (and also to other sites you may know). But it's still early days: I've downloaded Cud just four or five days ago and as you know better than I do :D it's a pretty complex piece of software with many options... so I am still deep in the playing/learning/experimenting phase (for instance I've just started using it under Linux) and I prefer to know exactly what I am writing about as that greatly helps to avoid those :oops: moments.

So I'll certainly write a review but it'll take a while.

BTW I find it funny and a bit strange that after many, many years with AkelPad (and looking really hard into other editors over the years without ever finding a suitable replacement) it is again a text editor made in Russia that comes to the rescue. Is implementing a text editor a Russian specialty?
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Not Ru speciality, e.g. there are MORE packers/zippers from Ru. RAR/ 7Z/ some weird packers/ some new algoriytms in packers.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

and know what? editors are not a 'rocket science' e.g. RAR/7Z is much harder to write /debug. :)
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

Re that option to reload changed files: perhaps ui_notif_time is enough. If set to 0 (or -1) this could mean "always ask". Saves inventing another option :D
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

maybe yes. but it's contr-intuitive. I added new option, will be in next update (boolean).
about your Save Tabs dialog wishes- will think later...
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

Alexey wrote:maybe yes. but it's contr-intuitive. I added new option, will be in next update (boolean).
Well, your call of course.
Alexey wrote:and know what? editors are not a 'rocket science' e.g. RAR/7Z is much harder to write /debug. :)
I am not sure about the writing of code being "rocket science", even in the case of RAR or 7z (BTW both apps I've used for many, many years)... but yeah, as to debugging there's nothing to beat this quote from Brian Kernighan:
“Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?”
:lol:
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

:) and plugin Configure Hotkeys was fixed/updated. it gives HTML reporrt of hotkeys and editor report.
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

Alexey wrote::) and plugin Configure Hotkeys was fixed/updated. it gives HTML reporrt of hotkeys and editor report.
Confirmed as working.

The actual name of that plugin (for those like me who search for it) is cuda_config_keys.
Post Reply