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

Phoca Commander - dual panel file manager for Joomla! CMS
nunoleite
Phoca Member
Phoca Member
Posts: 38
Joined: 15 Apr 2018, 01:00

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
nunoleite
Phoca Member
Phoca Member
Posts: 38
Joined: 15 Apr 2018, 01:00

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, this is possible in version 3.5.0:



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

Jan
If you find Phoca extensions useful, please support the project
rogerco
Phoca Member
Phoca Member
Posts: 47
Joined: 18 Sep 2011, 16:17

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

Post by rogerco »

Excellent, thank you very much Jan.
nunoleite
Phoca Member
Phoca Member
Posts: 38
Joined: 15 Apr 2018, 01:00

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

Post by nunoleite »

Hi!

Great...

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

BTW - CTRL+S shortcut can be used for saving the file.
If you find Phoca extensions useful, please support the project
rogerco
Phoca Member
Phoca Member
Posts: 47
Joined: 18 Sep 2011, 16:17

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

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, thank you for your info. No problem with the link, just paste it here.

Jan
If you find Phoca extensions useful, please support the project
Post Reply