Ah, thanks. I was wondering what that Scintilla bit was about. Will look into it.
Thanks
Dan
Search found 7 matches
- Sun Feb 07, 2021 1:29 am
- Forum: Coding Questions
- Topic: EditorGadget scroll to bottom
- Replies: 7
- Views: 1926
- Sat Feb 06, 2021 5:54 pm
- Forum: Coding Questions
- Topic: EditorGadget scroll to bottom
- Replies: 7
- Views: 1926
EditorGadget scroll to bottom
Hi Folks -
Another newbie question: I am dumping a lot of text to an Editor gadget, and the scroll is not advancing with the added lines. I did a lot of searching and reading about this, and saw many references to sendmessage_ which works great on windows, as well as a couple solutions for Linux ...
Another newbie question: I am dumping a lot of text to an Editor gadget, and the scroll is not advancing with the added lines. I did a lot of searching and reading about this, and saw many references to sendmessage_ which works great on windows, as well as a couple solutions for Linux ...
- Fri Feb 05, 2021 10:30 pm
- Forum: Coding Questions
- Topic: CRLF removal
- Replies: 8
- Views: 3312
Re: CRLF removal
Yep, was using ReplaceString instead of RemoveString. RemoveString worked much better.
To the question above, Str() converts a number to its string representation.
Thanks for the help.
Dan
To the question above, Str() converts a number to its string representation.
Thanks for the help.
Dan
- Fri Feb 05, 2021 1:45 pm
- Forum: Coding Questions
- Topic: CRLF removal
- Replies: 8
- Views: 3312
Re: CRLF removal
Thanks all.
As it mentions above, I did try replacestring, which didn't work:
I don't know whether it was the empty string as 3rd param or not using the #CRLF$ constant, but it did not work.
As it mentions above, I did try replacestring, which didn't work:
Code: Select all
Am\Text=ReplaceString(Am\text, Str($0d)+Str($0a), "")- Fri Feb 05, 2021 2:27 am
- Forum: Coding Questions
- Topic: CRLF removal
- Replies: 8
- Views: 3312
CRLF removal
I have a string in the structure Am called Text. I want to remove any occurrences of the $0d$0a character pattern (cr/lf).
This does not seem to work. The string text is unchanged. What am I doing wrong?
Am\Text=ReplaceString(Am\text, Str($0d)+Str($0a), "")
*edit*
Ach, never mind. I need Chr() I ...
This does not seem to work. The string text is unchanged. What am I doing wrong?
Am\Text=ReplaceString(Am\text, Str($0d)+Str($0a), "")
*edit*
Ach, never mind. I need Chr() I ...
- Thu Feb 04, 2021 1:21 pm
- Forum: General Discussion
- Topic: Question about Apple support
- Replies: 5
- Views: 1591
Re: Question about Apple support
Thanks! Off to buy the latest version....
- Thu Feb 04, 2021 3:45 am
- Forum: General Discussion
- Topic: Question about Apple support
- Replies: 5
- Views: 1591
Question about Apple support
Hi Folks -
I am a purebasic newbie, although I have a lot of programming experience. I am intending to build a game client, and I wanted to have it usable on Apple as well as windows. I was wondering how well the support for Purebasic is on Apple. Does it work pretty well, will the same code work ...
I am a purebasic newbie, although I have a lot of programming experience. I am intending to build a game client, and I wanted to have it usable on Apple as well as windows. I was wondering how well the support for Purebasic is on Apple. Does it work pretty well, will the same code work ...