jaPBe - Editor-Core
jaPBe - Editor-Core
After the problems with MOD 4-5, i first want to know, if my new core for my project (just another PureBasic editor) runs without any problems (exspecial the Win2000/XP Systems)
http://caosandkin.bei.t-online.de/purebasic/jaPBe.zip
Ok, what is new:
Falten,
AutoIndent (write a if - else - endif- command over more lines and you see it)
AutoCompletion (to acept it, hit TAB or CTRL+RETURN)
Extended Format
Combine two lines with (del), when both lines have spaces at the beginning.
;{- creates now also a bookmark
Try it, there are more.
GPI
http://caosandkin.bei.t-online.de/purebasic/jaPBe.zip
Ok, what is new:
Falten,
AutoIndent (write a if - else - endif- command over more lines and you see it)
AutoCompletion (to acept it, hit TAB or CTRL+RETURN)
Extended Format
Combine two lines with (del), when both lines have spaces at the beginning.
;{- creates now also a bookmark
Try it, there are more.
GPI
-
- Enthusiast
- Posts: 103
- Joined: Fri Apr 25, 2003 4:00 pm
- Location: France
Hello ,
I found two pb:
a) The function named ReplaceText() has the same name as the RichEdit library, change the proc name to ReplaceText1...
b) The structure named tc_item has an incorect part you called imask, it must be mask to be ok to the struct declared in PB.
Thank's for your great work..
Dominique
a) The function named ReplaceText() has the same name as the RichEdit library, change the proc name to ReplaceText1...
b) The structure named tc_item has an incorect part you called imask, it must be mask to be ok to the struct declared in PB.
Thank's for your great work..
Dominique
Dominique
Windows 10 64bits. Pure basic 32bits
Windows 10 64bits. Pure basic 32bits
Re: Hello ,
>b) The structure named tc_item has an incorect part you called imask, it
>must be mask to be ok to the struct declared in PB.
on my PB it is definied as imask.
Have you changed something?
>must be mask to be ok to the struct declared in PB.
on my PB it is definied as imask.
Have you changed something?
-
- Enthusiast
- Posts: 103
- Joined: Fri Apr 25, 2003 4:00 pm
- Location: France
Hi
No, just changed it's name to mask and all worked ok .
i use the 3.62v of Pb.
Also renamed the func's name to ReplaceText1() everywhere it appears, and your proc compiled ok.
I work on XP pro, and now all is working well.
i use the 3.62v of Pb.
Also renamed the func's name to ReplaceText1() everywhere it appears, and your proc compiled ok.
I work on XP pro, and now all is working well.
Dominique
Windows 10 64bits. Pure basic 32bits
Windows 10 64bits. Pure basic 32bits
Re: Hi
Funny thins. My PB (mark the structurename and press alt+s) say, that i must name it imask. How is this possibel ?DominiqueB wrote:No, just changed it's name to mask and all worked ok .
i use the 3.62v of Pb.
>Also renamed the func's name to ReplaceText1() everywhere it appears,
>and your proc compiled ok.
Maybe the person, who write the RichEdit-Lib should rename all the functions like RE_blabla. I mean, ReplaceText sound not on a realy unused name.
-
- Enthusiast
- Posts: 103
- Joined: Fri Apr 25, 2003 4:00 pm
- Location: France
Re-
The structure is defined in the resident file: windows.res
Mine is from 19-04-2003, what's yours ?
Perhaps a renamed has been done to it ?
Just had a look into Windows help, the correct name is mask.
so, i have the good one.
Do you want it ?
Mine is from 19-04-2003, what's yours ?
Perhaps a renamed has been done to it ?
Just had a look into Windows help, the correct name is mask.
so, i have the good one.
Do you want it ?
Dominique
Windows 10 64bits. Pure basic 32bits
Windows 10 64bits. Pure basic 32bits
-
- Enthusiast
- Posts: 103
- Joined: Fri Apr 25, 2003 4:00 pm
- Location: France
Ok
I've found what is the matter:
i'm using the latest resident available from the cvs site, so the correct name for mask has been corrected on the 08/04/03..
That's all !
Dominique.
i'm using the latest resident available from the cvs site, so the correct name for mask has been corrected on the 08/04/03..
That's all !
Dominique.
Dominique
Windows 10 64bits. Pure basic 32bits
Windows 10 64bits. Pure basic 32bits
jaPBe - Editor-Core
I like it.
Runs here on XP prof. engl. with local settings german.
PB 3.62
P4 1700
512MB
woki
Runs here on XP prof. engl. with local settings german.
PB 3.62
P4 1700
512MB
woki
>Yep, sorry, I'm doing that with each new version of my libs now (I use EC_).
EC_ is not a good beginning, better is a shortname of the lib (Scintilla -> SCI_). For a RichEdit something like RE_ or REDI_.
BTW: Can you convert my Scintilla.PBI to a LIB?
@All
The old mod had problems, when you Drag&Drop a file in the Editor, even when this function is deactiv (WinXP). So please can test this? Simply drag and Drop a file in the Scintilla-Editor-Window.
EC_ is not a good beginning, better is a shortname of the lib (Scintilla -> SCI_). For a RichEdit something like RE_ or REDI_.
BTW: Can you convert my Scintilla.PBI to a LIB?
@All
The old mod had problems, when you Drag&Drop a file in the Editor, even when this function is deactiv (WinXP). So please can test this? Simply drag and Drop a file in the Scintilla-Editor-Window.
Why not? Kinda identifies the author, doesn't it?EC_ is not a good beginning
RE_ would be ok, too, but what if somebody wants to code another RichEdit lib? But wait... what I'll do is ahorten function names (now they're RichEditThis, RichEditThat) to RE_This, RE_That. Thanks for the tip. But for the rest, I think I'll stick to EC., better is a shortname of the lib (Scintilla -> SCI_). For a RichEdit something like RE_ or REDI_.
El_Choni