Scintilla -> Add new line or break?
Hi, im trying to insert some text into Scintilla but instead of it putting it on a new line, it insterts it infront of what ever is on the currently line and pushes that all in front.
How can i insert a new line first, or a break then insert the text?
Thanks
Andy
Re: Scintilla -> Add new line or break?
Sorry, I'm not sure what you mean. Are you inserting the text via an action?
Re: Scintilla -> Add new line or break?
Hi Looki, yes there is an action to "insert Text", this inserts it at a given line, but does what i described in my OP.
Thanks
Andy
Re: Scintilla -> Add new line or break?
Hmm. Are you using the latest beta? Seems weird, I will look into it.
Re: Scintilla -> Add new line or break?
Sorry, I'm not sure what's the problem here. "Insert text" at -1 works fine for me, at least. Please update:
http://clickteam.info/looki/Extensions/Beta/Scintilla.zip
Re: Scintilla -> Add new line or break?
Hi Looki, that does work fine (-1), im trying to insert text (as i said in my OP) inbetween text.
So i have 50 lines of text, i want to insert 10 lines, at line 20. What this does is just that, but not into a "new" line. It just appends what ever text was on line 20 to the end of your inserted text.
Andy
Re: Scintilla -> Add new line or break?
Sorry, I have no idea what the problem is. I can add text in the middle just fine! If you need new lines, perhaps add Newline$ to your text?
Re: Scintilla -> Add new line or break?
Ok, maybe were getting some wires crossed and im not doing it write as im lost to you suggestion to use NewLine$??
Ive uploaded a .mfa to show issue. (in the file forum)
Thanks
Andy
Re: Scintilla -> Add new line or break?
Got you now! Newline$ works a treat.
thanks
Andy
Re: Scintilla -> Add new line or break?
Was just gonna show you :) Good you figured it out.