Page 1 of 1

Feature Request - Editing a file and not moving to the top

Posted: 15 Apr 2018, 01:08
by nunoleite
Hi!

When editing a text file, or css file and clicking Save, the cursor goes to the top of the file, and i have to always scroll down to the line i was editing.

Is it possible to stay on the line i'm editing?

Thanks
Nuno Leite

Re: Feature Request - Editing a file and not moving to the top

Posted: 16 Apr 2018, 10:12
by Jan
Hi, for editing the file, the Joomla! editor is used. For now I didn't find any way how to go back to the row which was edited. It seems like not possible, because when saving, the site is newly reloaded and the system does not have any information where the edit row was as last :-(

Jan

Re: Feature Request - Editing a file and not moving to the top

Posted: 16 Apr 2018, 14:54
by nunoleite
Hi!

Thanks for the info. :(

Hope you find a way in the future. That would facilitate a lot working with some text and css files.

Thanks
Nuno Leite

Re: Feature Request - Editing a file and not moving to the top

Posted: 20 Oct 2020, 00:43
by Jan
Hi, this is possible in version 3.5.0:



Download:
https://www.phoca.cz/download/category/ ... -component

Jan

Re: Feature Request - Editing a file and not moving to the top

Posted: 20 Oct 2020, 09:27
by rogerco
Excellent, thank you very much Jan.

Re: Feature Request - Editing a file and not moving to the top

Posted: 20 Oct 2020, 10:21
by nunoleite
Hi!

Great...

Thanks

Re: Feature Request - Editing a file and not moving to the top

Posted: 20 Oct 2020, 15:10
by Jan
BTW - CTRL+S shortcut can be used for saving the file.

Re: Feature Request - Editing a file and not moving to the top

Posted: 20 Oct 2020, 16:19
by rogerco
Oooh, that (CtrlS) is really good and very useful.
I actually made a plugin for TinyMCE/JCE editors for Ctrl+S and CMD+S (it also adds an optional timed autosave), but didn't bother with the Joomla built in editor. You can find it by searching for Autosave in the Joomla extensions directory. (I won't post a link here as this is Jan's excellent extensions site, not mine). It's a bugfix and enhancement of the 2015 autosave by Chupurnov Valeriy (XDsoft) which is a bit broken and no longer maintained.

Re: Feature Request - Editing a file and not moving to the top

Posted: 20 Oct 2020, 21:32
by Jan
Hi, thank you for your info. No problem with the link, just paste it here.

Jan