Editor-Extension

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Splunk
User
User
Posts: 36
Joined: Wed Apr 21, 2021 6:53 pm

Editor-Extension

Post by Splunk »

Hi guys,

it would be nice, even great, no...fantastic, if the code window could be split into 2 parts. That would prevent having to scroll all the time to have 2 Codeparts in view.

I use a 4k monitor in portrait(!)-Mode, see ~200 lines, but still have to scroll, scroll, scroll....

Is this doable? My birthday is coming up, this would be a nice gift! :mrgreen:
Bitblazer
Enthusiast
Enthusiast
Posts: 761
Joined: Mon Apr 10, 2017 6:17 pm
Location: Germany
Contact:

Re: Editor-Extension

Post by Bitblazer »

+1

Currently i use Markers (F2/ctrl-F2) and keep jumping between them, but 2 windows would be a lot better.
AZJIO
Addict
Addict
Posts: 2143
Joined: Sun May 14, 2017 1:48 am

Re: Editor-Extension

Post by AZJIO »

AkelPad has a convenient menu. If I right-click on the line number field, a menu appears. This menu has all the markers that I have set and clicking on a menu item takes me to that position. It would be nice to implement this idea
Image

I hope you know that you can turn on the procedure bar, and make the positions you need to move to in the form of comments:

Code: Select all

;- GUI
here the dash character adds that position as a marker in the procedure bar.
Image

Splunk
Check out this tool (screenshot)
Splunk
User
User
Posts: 36
Joined: Wed Apr 21, 2021 6:53 pm

Re: Editor-Extension

Post by Splunk »

AZJIO wrote: Wed Mar 08, 2023 5:21 amI hope you know that you can turn on the procedure bar, and make the positions you need to move to in the form of comments:
yes, i know...but with hundreds of entries (alphabetically unsorted!) this is not very helpful :(
BarryG
Addict
Addict
Posts: 4128
Joined: Thu Apr 18, 2019 8:17 am

Re: Editor-Extension

Post by BarryG »

Splunk wrote: Wed Mar 08, 2023 9:14 amwith hundreds of entries (alphabetically unsorted!) this is not very helpful :(
There's a setting to sort it alphabetically.
Fips
User
User
Posts: 35
Joined: Sun Feb 20, 2022 1:03 pm

Re: Editor-Extension

Post by Fips »

BarryG wrote: Wed Mar 08, 2023 9:39 am
Splunk wrote: Wed Mar 08, 2023 9:14 amwith hundreds of entries (alphabetically unsorted!) this is not very helpful :(
There's a setting to sort it alphabetically.
Where is this setting? I could not find it.
User avatar
luis
Addict
Addict
Posts: 3893
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Editor-Extension

Post by luis »

Fips wrote: Thu Mar 09, 2023 12:35 pm Where is this setting? I could not find it.
File -> Preferences -> ToolsPanel -> Procedure Browser

But it sorts the procedures, don't know if it is what you want or you want only comments you may put near the markers ";-" sorted, there is also an option to group them.
Last edited by luis on Thu Mar 09, 2023 12:49 pm, edited 2 times in total.
"Have you tried turning it off and on again ?"
A little PureBasic review
Fips
User
User
Posts: 35
Joined: Sun Feb 20, 2022 1:03 pm

Re: Editor-Extension

Post by Fips »

Thanks! That was it. I overlooked the checkbox in there.
Splunk
User
User
Posts: 36
Joined: Wed Apr 21, 2021 6:53 pm

Re: Editor-Extension

Post by Splunk »

BarryG wrote: Wed Mar 08, 2023 9:39 am
Splunk wrote: Wed Mar 08, 2023 9:14 amwith hundreds of entries (alphabetically unsorted!) this is not very helpful :(
There's a setting to sort it alphabetically.
Thank you, that is already better than before
Post Reply