Page 1 of 2

SplitView

Posted: Sun Jun 30, 2019 3:09 pm
by RSBasic
Hello :)

With this tool you can activate and use the split function like in other editors.
This gives you two views of a PB file and you can compare and edit.
In the beginning you see only one view. To add a second view, click on the dividing line below the editor and move it up with the mouse.
For technical reasons, a new tab is opened at startup and permanently reserved for my tool.

Screenshot:
Image

Installation:
Image

I would be very pleased about feedbacks, improvement suggestions, error messages or wishes. Thanks :)

Re: SplitView

Posted: Sun Jun 30, 2019 4:32 pm
by zikitrake
I dreamt of this option. Thank you!
Just two requests:
- Would it be possible to adapt your 'Multicolor Procedure List' utility to work in the window that has the focus?
- Save Split status when you close/reopen PB editor?
edited/added: And independent configuration for each opened tab :D

Thank you thousands!

Re: SplitView

Posted: Sun Jun 30, 2019 5:03 pm
by Kurzer
Yeah, how awesome is that? Thanks a lot, RSBasic, I've missed this feature for so long in the PB IDE.
You are awesome, insanely awesome! Image

I will nominate you for the title "Best IDE Improver of the World" (if not more!).

Re: SplitView

Posted: Sun Jun 30, 2019 7:10 pm
by Bitblazer
very good indeed!
as im always working on two parts at once, sometimes three .... what do we need next? view dependant jump markers with toolbar, your multicolor procedure list and row based editor features working with it ;)

Re: SplitView

Posted: Sun Jun 30, 2019 8:26 pm
by Tenaja
Fred... Can you implement this native?

I always have to open a second editor before this.

Does it do side x side also?

Re: SplitView

Posted: Sun Jun 30, 2019 9:08 pm
by Kurzer
Tenaja wrote:Fred... Can you implement this native?
I've been waiting for this feature (as a native IDE function) for almost 10 years and now RSBasic has implemented it. I don't know why Fred and Freak don't consider it a useful feature.

see here:
viewtopic.php?p=309187#p309187
viewtopic.php?p=517461#p517461

Re: SplitView

Posted: Sun Jun 30, 2019 11:53 pm
by Tenaja
I'm sure I've requested it before, too. but now that there's a plug-in with sample code, I hope it's an easy add.

Re: SplitView

Posted: Mon Jul 01, 2019 8:26 am
by BarryG
kurzer wrote:I don't know why Fred and Freak don't consider it a useful feature.
The same goes for the Procedure highlighting in the Tools Panel, and filtering of the Procedures by keyword. These are great features by RSBasic but I'd really prefer them natively.

Please Fred, how about it?

Re: SplitView

Posted: Mon Jul 01, 2019 9:16 pm
by RSBasic
SplitView 1.0.1 has been released.

Changelog:
  • Added: The following key combinations are supported:
    • Ctrl+C
    • Ctrl+V
    • Ctrl+X
    • Ctrl+A
    • Ctrl+Z
    • Ctrl+Y
  • Added: Context menu (e.g. copy, paste, ...) has been added.
  • Added: Current SplitterGadget position is saved and loaded.
  • Added: In the context menu you can select whether the current file or a file from another tab should be displayed.

zikitrake wrote: - Save Split status when you close/reopen PB editor?
Done
zikitrake wrote:edited/added: And independent configuration for each opened tab :D
If you have many different PB files open and all values are saved, it will be too much.

Re: SplitView

Posted: Tue Jul 02, 2019 2:18 am
by Zebuddi123
Hi RSBasic :) First thing First! please could you pm me with details of whatever it is your taking or micro dosing on :shock: :lol: :lol: :lol: :lol: :lol:

Another great tool. now I was toying with this idea of splitview in the pbide just recently via hooking into the ide and sending Scintilla msg's Although I didnt know where to start other than playing with IDA and x64dbg.

--Intial Setup--
I initially struggled to get the tool working due to the fact the head of the splitview was basically so close to the splitter that it was hard to lift\move the head up, it was only due the the thinkness of the splitter that I realised what was happening, maybe you could set the height on intial setup to be ~200 from the splitter.
Just in case so far I`m the only one reporting this I'm using a 32" monitor 2560 x 1440 res.

As for the context menu the tab order is reversed running rtl 1-x maybe you could reverse the order ltr 1-x or maybe adding filenames to the menu

Now for my request.
1. Vertical Split tabs
2. Multipul tabs, 3 verticals would be great for me.


Once again thank you and its nice to see you thoroughly engrossed and hopefully inspiring others members :)

Zebuddi. :)

Re: SplitView

Posted: Tue Jul 02, 2019 7:15 am
by zikitrake
:o Version 1.0.1 is wonderful!

Thank you for the option to open any other tab/file (essential!)

Would it be possible to save the current line status and the zoom level applied to the second window?

Thanks you!

Re: SplitView

Posted: Wed Jul 03, 2019 8:39 am
by zikitrake
I don't know if it's an error exclusive to my configuration or general.
When I have activated the SplitView tool, if I select all the text (Ctrl+A) and short (Ctrl+X) I skip this error (only happens with files already saved):
Image

The editor works correctly when I disable SplitView

Re: SplitView

Posted: Sat Jul 06, 2019 2:56 pm
by RSBasic
@zikitrake
:(

@all
I have bad news.

I have to discontinue this tool due to a critical error.
The tool is no longer being developed or offered.
If you are already using the tool, please note the following: As soon as you press Ctrl+A and Ctrl+X PureBasic crashes and all unsaved changes are lost!
Please do not use this tool anymore. Use at your own risk.

There is a conflict between PureBasic and #SCI_SETDOCPOINTER. Because I can't fix the bug, please don't use my tool anymore.
I'm sorry. :(

More information about reproducing the error: viewtopic.php?f=4&t=73139&p=538779

Re: SplitView

Posted: Sat Jul 06, 2019 6:03 pm
by zikitrake
I'm sorry to read this. I imagine it will be a disappointment for you as well.
Thank you also for the work you are doing with these additions to the IDE.
Let's hope that the official PB team will add this and other options as standard to the editor.

PS: deepL translated, sorry :)

Re: SplitView

Posted: Sun Feb 02, 2020 9:10 pm
by Kurzer
Now that the Purebasic IDE is open source, I hope that this wonderful tool will find its way into the IDE and eventually be available natively. :)