|
Forum Index : Microcontroller and PC projects : CMM2: Built in editor - pageUp/pageDown
| Author | Message | ||||
| electrotrains Newbie Joined: 29/07/2020 Location: United KingdomPosts: 13 |
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: BelgiumPosts: 255 |
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 KingdomPosts: 13 |
Thanks epsilon - that looks great - I'll give it a try. Robin https://github.com/robinhedwards |
||||
| Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1646 |
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 RepublicPosts: 533 |
Napoleon Commander is working so... Jiri Napoleon Commander and SimplEd for CMM2 (GitHub), CMM2.fun |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |