Page 1 of 1

More Functions for Editor

Posted: Tue Jun 18, 2019 3:46 pm
by olafmagne
Hello

I would like to have something similair to BlitzBasics(B+)editor-functions like

getgatgetline():returns the row, the caret is actually in
getgatgedcolum():returns the colum the caret is actually in
getgadgetlineindex():returns the textindex of the caret of the entire text
formatgadgetitemtext():formats the gadgetitemtext in both color and font (italic/bold)

and better suport for keyboard in GUI-apps

I think it would be nice to have cross-platform functions instead of api-calls

My opinion
Olaf

Re: More Functions for Editor

Posted: Wed Jun 19, 2019 12:13 am
by Tenaja
Some of those features might be nice. In the meantime, search for srod's goscintilla library. I think he's implemented it.

Re: More Functions for Editor

Posted: Wed Jun 19, 2019 11:04 am
by olafmagne
Tenaja wrote:... In the meantime, search for srod's goscintilla library.....
I heard about goscintilla,but,its a library i have to distribute with an .exe
some of the features mentioned are only two three line of code,
not a big thing, what i mean is that text-/editor-gadgets can have more
possibilitys to manipulate/formate text since this is what we do whit an editor
and whith api, code is no longer Xplatform

Olaf

Re: More Functions for Editor

Posted: Thu Jun 20, 2019 5:22 am
by Tenaja
olafmagne wrote: I heard about goscintilla,but,its a library i have to distribute with an .exe
...
You typing that proved you haven't seen it. At the worst, you can copy the 3 lines of code and paste it into yours.