Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 01:47 17 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CMM2: Built in editor - pageUp/pageDown

Author Message
electrotrains
Newbie

Joined: 29/07/2020
Location: United Kingdom
Posts: 13
Posted: 01:54pm 18 Dec 2020
Copy link to clipboard 
Print this post

Hi all,

(Apologies if I've posted this twice - but I think something went gone wrong with my original attempt to post this suggestion)

Basically, I'd like to suggest an improvement to the way the Page up and down keys work, since I find the current behaviour to be different and less useful than the other IDEs I regularly use.

I think that they should always move the cursor through the file by the number of lines displayed in the editor (48?).

With this way of navigating, it makes it very easy to use the Page up and down keys to check things in the surrounding code as you are typing, then simply page back to return to exactly the same place where you were typing.

Both Visual Studio and Netbeans work this way and I find it really natural and useful.

Note that these IDEs also remember the horizontal position of the cursor and will maintain this position as you page up and down. Even if the cursor ends up on a shorter line, the target position is still maintained - unless you use the cursor keys which seem to reset it.

Hope this is clear enough, and will be given some consideration.

Robin
https://github.com/robinhedwards
 
epsilon

Senior Member

Joined: 30/07/2020
Location: Belgium
Posts: 255
Posted: 08:44am 19 Dec 2020
Copy link to clipboard 
Print this post

XEdit works the way you're suggesting:

https://github.com/epsilon537/xedit_cmm2

I hope you don't mind the shameless self-promotion.
Epsilon CMM2 projects
 
electrotrains
Newbie

Joined: 29/07/2020
Location: United Kingdom
Posts: 13
Posted: 03:52pm 19 Dec 2020
Copy link to clipboard 
Print this post

Thanks epsilon - that looks great - I'll give it a try.

Robin
https://github.com/robinhedwards
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1646
Posted: 02:19am 27 Dec 2020
Copy link to clipboard 
Print this post

MMEdit also works that way as does LibreOffice Writer and Notepad. It does seem more intuitive and as you say, you can page up and down and return to the same place in the file. Plus it's more confusing when going from one to another.

Another thing I would like for the File Manager is to have the ability for you to type a letter and have the cursor jump to the first file name beginning with that letter, then to the next and so on.

It would also be nice if a key (^B?) could take you to the first .bas file and then the next and so on. I realize that the status line is getting a bit full

Bill
Keep safe. Live long and prosper.
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 533
Posted: 12:45pm 27 Dec 2020
Copy link to clipboard 
Print this post

  Turbo46 said  Another thing I would like for the File Manager is to have the ability for you to type a letter and have the cursor jump to the first file name beginning with that letter, then to the next and so on.
Bill


Napoleon Commander is working so...
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025