PBEdit - a Canvas-based Texteditor
Re: PBEdit - a Canvas-based Texteditor
Thanks for the update Mr.L
2 little things seen:
. On the vertical scroll bar, if I select the cursor and move up (or right) and left at the same time, diagonally, the scrolling stops and we return to the starting position.
. If positioned on an empty indented line and I select the left part by going to the line number, in order to delete the line, the previous or next line is automatically selected.
2 little things seen:
. On the vertical scroll bar, if I select the cursor and move up (or right) and left at the same time, diagonally, the scrolling stops and we return to the starting position.
. If positioned on an empty indented line and I select the left part by going to the line number, in order to delete the line, the previous or next line is automatically selected.
Re: PBEdit - a Canvas-based Texteditor
Hello ChrisR and thanks for the reply.
you can give it a try:
https://github.com/zzippyy/PBEdit
Isn't that the exact behaviour of the scrollbar in the PureBasic IDE? When im scrolling and move away too far from the scrollbar, the scrolling is canceled.
I guess i see what you mean. I have changed the mouse selection to mimic more the selection in the IDE.
you can give it a try:
https://github.com/zzippyy/PBEdit
Re: PBEdit - a Canvas-based Texteditor
Hello Mr.L
Your editor is really great, keep up the good work
Yes, that's right, I hadn't noticed.
Perfect, the mouse selection related issue is fixed, thanks
Your editor is really great, keep up the good work
Re: PBEdit - a Canvas-based Texteditor
I used PBEdit, with your latest improvements on GitHub, the last 2 days to code and I enjoyed, it's really a great Canvas-based Texteditor.
I only missed the option for saving, the side panels of the procedures and of course the compiler and integrated debugger. I hope, they will come one day with a little start of IDE.
I would be unable to produce such piece of code so nicely written, I have much to learn.
Just my 2 cts to wake up possible future testers
I only missed the option for saving, the side panels of the procedures and of course the compiler and integrated debugger. I hope, they will come one day with a little start of IDE.
I would be unable to produce such piece of code so nicely written, I have much to learn.
Just my 2 cts to wake up possible future testers
Re: PBEdit - a Canvas-based Texteditor
Can this module be made for SpiderBasic?
Re: PBEdit - a Canvas-based Texteditor
I think this module will be heavy for SpiderBasic.
For SB and Web, there is a good AceEditor editor:
https://github.com/spiderbytes/AceEditor
https://ace.c9.io/
Re: PBEdit - a Canvas-based Texteditor
I'm sorry to say, but I'm not planning to write a new IDE
Well, I tried once, but it is really hard and not worth the afford (for me at least).
It would be really nice, if it would be possible, without rewriting the whole code.
I don't have SpiderBasic so I can't say, but I guess it's not working.
-
- Enthusiast
- Posts: 619
- Joined: Fri Feb 20, 2009 9:24 am
- Location: Almaty (Kazakhstan. not Borat, but Triple G)
- Contact:
Re: PBEdit - a Canvas-based Texteditor
Can this PBEdit do column, as Excel can? I need 3 columns - string numbers as here, marks (short column), code as here.
Re: PBEdit - a Canvas-based Texteditor
You can use Tab to allign rows of text but I guess that is not what you have in mind.
So, no. It's really just a Texteditor and has no cell support.
So, no. It's really just a Texteditor and has no cell support.
Re: PBEdit - a Canvas-based Texteditor
Hello,
Very good code editor.
How can i detect any change in the editor (text modification) ?
And also can i remove the modify flag if exist ?
Very good code editor.
How can i detect any change in the editor (text modification) ?
And also can i remove the modify flag if exist ?
Re: PBEdit - a Canvas-based Texteditor
Hello, drgolf!
I'm glad you like my editor
In the latest version (1.14) I have added a feature to show changed lines. They are indicated by an orange line at the beginning of the textline.
Internally, when a textline has been modified, the flag '#TE_TextLine_Modified' is set inside the TE_TEXTLINE\flags.
To remove this flags you can call the Function PBEdit_ClearModifyFlags(ID).
https://github.com/MR-L-PB/PBEdit/tree/main
(Don't forget to download the files inside the "styles" and "lang" folder aswell)
Re: PBEdit - a Canvas-based Texteditor
Hello,
I have implemented 2 fonctions (getmodify and setmodify) for my use.
I have download the last version 1.14.
Some glitch on resize window with split view.
The component is very nice. Thanx.
Have a good day and continue enhance PBEdit.
I have implemented 2 fonctions (getmodify and setmodify) for my use.
I have download the last version 1.14.
Some glitch on resize window with split view.
The component is very nice. Thanx.
Have a good day and continue enhance PBEdit.
Re: PBEdit - a Canvas-based Texteditor
Hello,
PBEdit looks super impressive, but I'm puzzled: how are we supposed to use the auto-completion/indentation on Windows?
There is no KeyDown event for Tab, since the key cycles through every gadget on the window.
PBEdit looks super impressive, but I'm puzzled: how are we supposed to use the auto-completion/indentation on Windows?
There is no KeyDown event for Tab, since the key cycles through every gadget on the window.
Re: PBEdit - a Canvas-based Texteditor
Hi, ❤x1
Unfortunately, since the latest updates, the Tab-key detection for the canvas gadet doesn't work anymore.
I just saw, that you already have written a bug report.
Unfortunately, since the latest updates, the Tab-key detection for the canvas gadet doesn't work anymore.
I just saw, that you already have written a bug report.