Sparkie, if you were a tall, gorgeous, blonde woman I would kiss you.
In case you're not - THANK YOU! This has been killing me for 2 days...
Citystate and Demivec - very much appreciate your assistance as well!
Now, to make sure I understand it :)
This is my 1st time working with the Scintilla ...
Search found 17 matches
- Wed Mar 05, 2008 3:35 am
- Forum: Coding Questions
- Topic: Help with Cintilla structures
- Replies: 12
- Views: 2595
- Wed Mar 05, 2008 2:06 am
- Forum: Coding Questions
- Topic: Help with Cintilla structures
- Replies: 12
- Views: 2595
This shouldn't be so difficult!
Still not working.
Ok, here is a complete working test app - except for the problem being discussed here... Still can't get the clicked text into a string gadget :(
I can't believe how much head scratching this is causing!
Change how the Scintilla control is initialized depending on whether you ...
Ok, here is a complete working test app - except for the problem being discussed here... Still can't get the clicked text into a string gadget :(
I can't believe how much head scratching this is causing!
Change how the Scintilla control is initialized depending on whether you ...
- Wed Mar 05, 2008 12:07 am
- Forum: Coding Questions
- Topic: Help with Cintilla structures
- Replies: 12
- Views: 2595
no luck :(
I appreciate the help Demivec, but no luck. :(
that change results in the program terminating at that line with an error that the memory address is null.
I think my problem is with how I am accessing the structures - txtLen is always zero (should return the length of the selected string) which ...
that change results in the program terminating at that line with an error that the memory address is null.
I think my problem is with how I am accessing the structures - txtLen is always zero (should return the length of the selected string) which ...
- Tue Mar 04, 2008 5:54 pm
- Forum: Coding Questions
- Topic: Help with Cintilla structures
- Replies: 12
- Views: 2595
not getting it...
Let me ask the question differently, because I'm at a loss...
Given these two, predefined structures:
Structure SCCharacterRange
cpMin.l
cpMax.l
EndStructure
Structure SCTextRange
chrg.SCCharacterRange
*lpstrText.b
EndStructure
How would you read/write to them?
What I have tried is below ...
Given these two, predefined structures:
Structure SCCharacterRange
cpMin.l
cpMax.l
EndStructure
Structure SCTextRange
chrg.SCCharacterRange
*lpstrText.b
EndStructure
How would you read/write to them?
What I have tried is below ...
- Tue Mar 04, 2008 1:33 am
- Forum: Coding Questions
- Topic: Help with Cintilla structures
- Replies: 12
- Views: 2595
getting closer...
This compiles without errors...but I am not getting the string I clicked...so I'm still doing something wrong.
SCICharRange.SCCharacterRange
SCITextRange.SCTextRange
;---- #SCN_HOTSPOTCLICK
Case #SCN_HOTSPOTCLICK
Position = *scinotify\Position
linenumber = ScintillaSendMessage (#SciID, #SCI ...
SCICharRange.SCCharacterRange
SCITextRange.SCTextRange
;---- #SCN_HOTSPOTCLICK
Case #SCN_HOTSPOTCLICK
Position = *scinotify\Position
linenumber = ScintillaSendMessage (#SciID, #SCI ...
- Tue Mar 04, 2008 1:17 am
- Forum: Coding Questions
- Topic: Help with Cintilla structures
- Replies: 12
- Views: 2595
Think 1 problem solved...
I need to declare an instance of the structure and use that - like so:
now, if I can figure out how to get the string populated, I think it will work...
does not return a string....
Code: Select all
*SCICharRange.SCCharacterRange
*SCITextRange.SCTextRangenow, if I can figure out how to get the string populated, I think it will work...
Code: Select all
clicked_text.s= *SCITextRange\lpstrText- Tue Mar 04, 2008 1:02 am
- Forum: Coding Questions
- Topic: Help with Cintilla structures
- Replies: 12
- Views: 2595
structure names
actually - SCCharacterRange and SCTextRange are predefined structures... they are the ones I'm having trouble with :(
From what I understand of the usage - i need to populate cpMax and cpMin with the start and end of the range I want to get... then call #SCI_GETTEXTRANGE
I actually get an error ...
From what I understand of the usage - i need to populate cpMax and cpMin with the start and end of the range I want to get... then call #SCI_GETTEXTRANGE
I actually get an error ...
- Tue Mar 04, 2008 12:29 am
- Forum: Coding Questions
- Topic: Help with Cintilla structures
- Replies: 12
- Views: 2595
Help with Cintilla structures
Ok, I clearly don't know what i'm doing here...
What I am trying to do is grab the hotspot styled word the user clicks on and copy it to a string gadget. But I don't understand how to access the strucures properly. Here is my code:
;---- #SCN_HOTSPOTCLICK
Case #SCN_HOTSPOTCLICK
Position ...
What I am trying to do is grab the hotspot styled word the user clicks on and copy it to a string gadget. But I don't understand how to access the strucures properly. Here is my code:
;---- #SCN_HOTSPOTCLICK
Case #SCN_HOTSPOTCLICK
Position ...
- Sun Apr 24, 2005 4:42 pm
- Forum: Announcement
- Topic: jaPBe 2.5.4.22
- Replies: 19
- Views: 7750
Re: Error on opening
Delete the "jaPBe-Filelist" file and try again.
and delete in the japbe.pref the line "AutoLoad =".
It seems to be the "Autoload = *" line in the prefs file.
If I delete it, jaPBe starts up fine - but adds the line back into the prefs file.
I had to turn off "load last file at startup" to ...
- Sat Apr 23, 2005 5:36 pm
- Forum: Announcement
- Topic: jaPBe 2.5.4.22
- Replies: 19
- Views: 7750
Error on opening
When I open jaPBe on my laptop I get a "Can't open *" error with an "OK" button...
No matter how many times I click the button the error persists.
If I delete the prefs file jaPBe will start up fine the first time, but as soon as I reload I get the same error.
PB v 3.93 (registered) and ...
No matter how many times I click the button the error persists.
If I delete the prefs file jaPBe will start up fine the first time, but as soon as I reload I get the same error.
PB v 3.93 (registered) and ...
- Fri Mar 26, 2004 2:39 am
- Forum: Coding Questions
- Topic: CreateDirectory() ?
- Replies: 13
- Views: 4089
- Fri Mar 26, 2004 1:38 am
- Forum: Coding Questions
- Topic: CreateDirectory() ?
- Replies: 13
- Views: 4089
- Fri Mar 26, 2004 1:03 am
- Forum: Coding Questions
- Topic: CreateDirectory() ?
- Replies: 13
- Views: 4089
CreateDirectory() ?
I was creating a little app to set up a series of directories...the user would enter their folder names in a series of String Gadgets and then I thoguht I could just iterate through them and create each directory....
No matter how I try to do it the create directory command fails.
I even replaced it ...
No matter how I try to do it the create directory command fails.
I even replaced it ...
- Mon Dec 29, 2003 3:56 am
- Forum: Coding Questions
- Topic: REALBasic?
- Replies: 15
- Views: 5973
See this thread
I looked at Realbasic as well...
viewtopic.php?t=7330&highlight=
Only one example, true...
One that seems kind of nice (if a bit pricey) is www.runrev.com
viewtopic.php?t=7330&highlight=
Only one example, true...
One that seems kind of nice (if a bit pricey) is www.runrev.com
- Sun Aug 24, 2003 3:10 am
- Forum: Coding Questions
- Topic: 2 quickies (I hope)
- Replies: 5
- Views: 2583