Hello. Since this is my first comment here I would like to thank Alexey for this great piece of software I've been using for quite some time already. Nowadays it's rather difficult to find software that allows real customization to such degree. Kudos to you, Alexey!
Now, one thing that made me come here and create an account is really minor compared to other issues people may have, but still I'd like to ask: what happened to the 'New file' button in the main toolbar? Up until yesterday I used to use v1.192.0 as that's the last precompiled package that can be installed on my Linux Mint 19.2 (Ubuntu 18.04) system. That version had that button present.
Yesterday I bit the bullet - as they say - and attempted to compile the very latest version myself on my system. After a few nags I succeeded, and now I'm runnng v1.218.0.2. But... the 'New file' button is missing in the toolbar.
It wouldn't be such a big problem if muscle memory wouldn't always make me click 'the third button from the left' for saving current changes, however now that button does something completely different.
I did install the Configure Toolbar plugin, and created a 'New file' button, it shows up fine but... at the end of the main default toolbar. I want it back in it's former place, that is the very first button in the toolbar - and that seems to just not be possible. Or is it?
That is my question: can we place new toolbar buttons before main/default toolbar, or even mix them with its buttons (without recreating the whole toolbar)?
Alternatively: could such option be implemented easily? Unless it already is possible and I haven't found it yet?
==========================================================================================================
A second issue, also relatively minor: since some plugins and/or settings require restarting the application after installing/changing settings, could you please add an internal command for that, available at least for the Config Menu plugin if not directly in the main menu? I did search for such command (cmd_Restart/cmd_FileRestart/cmd_AppRestart or similar) but couldn't find one. It would really come in handy at least for an initial configuration if not any later one(s).
Question: [New file] button; Request: Restart menu item
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Question: [New file] button; Request: Restart menu item
1.215.5> but still I'd like to ask: what happened to the 'New file' button in the main toolbar?
* change: toolbar: don't add 'New' button, because ui-tabs '+' does the same
It's removed to save space.
In the src code, enable it here: uncomment the first comment {...} of function
TfmMain.InitToolbar
in formmain_updates_proc.inc
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Question: [New file] button; Request: Restart menu item
Sorry but no, no. Plugin don't allow it.>can we place new toolbar buttons before main/default toolbar, or even mix them with its buttons (without recreating the whole toolbar)?
Restart cannot be implemented as internal command, sorry. it needs executing of the self exe-file, not easy.>add an internal command for that, available at least for the Config Menu plugin if not directly in the main menu?
Re: Question: [New file] button; Request: Restart menu item
That would be sensible for only a couple open tabs, but with a couple dozen open tabs the [+] button may be very far to the right relative to the focused tab - in which case a handy toolbar button would help. Maybe a dialog to select which buttons to display on the default toolbar would be a more sensible approach...?
In the mean time I will try your advice about uncommenting the definition. Thank you.
I believe restart can be done through a temporary spawned helper. Yes, it may not be <very> easy but it would definitely be helpful when tweaking a lot of plugins/options. Please take some time to think thoroughly about it, maybe a good idea will come (a Python script, a bash/command script/whatever).
Thank you for replying and for all your work!
P.S. The forum does not send notifications to my mail. Had to register with one address I don't use anymore and then changed to my daily one that was not accepted initially (@disroot.org). Maybe the e-mail provider filter should be revised in the forum software.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Question: [New file] button; Request: Restart menu item
I returned the NewFile btn back. but did not return it's nearest drop-down button to call 'New from template' plugin.
PS
I cannot fix the forum software, sorry.
PS
I cannot fix the forum software, sorry.
Re: Question: [New file] button; Request: Restart menu item
Thank you, that should help people (like me) who have a lot of open tabs. I guess file type would be inferred from the file exension if/when saved for the first time, so the drop-down wouldn't be that much needed. I'd say it's a good compromise.main Alexey wrote: ↑11.10.2024 16:17 I returned the NewFile btn back. but did not return it's nearest drop-down button to call 'New from template' plugin.
It's OK, thank you for telling me. Will try to see how to make it work with either e-mail address. Got a very bad memory and tend to forget even the most recent things if there's nothing to nudge me. Apologies in advance if I fail to reply in time.PS
I cannot fix the forum software, sorry.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Question: [New file] button; Request: Restart menu item
yes, lexer is inferred from file extension when file is saved for the 1st time. checked it.