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: 26
Joined: 15 Apr 2018, 01:00

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

Post by nunoleite » 15 Apr 2018, 01:08

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: 43156
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 » 16 Apr 2018, 10:12

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: 26
Joined: 15 Apr 2018, 01:00

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

Post by nunoleite » 16 Apr 2018, 14:54

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: 43156
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 » 20 Oct 2020, 00:43

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: 35
Joined: 18 Sep 2011, 16:17

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

Post by rogerco » 20 Oct 2020, 09:27

Excellent, thank you very much Jan.

nunoleite
Phoca Member
Phoca Member
Posts: 26
Joined: 15 Apr 2018, 01:00

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

Post by nunoleite » 20 Oct 2020, 10:21

Hi!

Great...

Thanks

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 43156
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 » 20 Oct 2020, 15:10

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: 35
Joined: 18 Sep 2011, 16:17

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

Post by rogerco » 20 Oct 2020, 16:19

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: 43156
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 » 20 Oct 2020, 21:32

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