User Tag List

Results 1 to 10 of 10

Thread: Scintilla -> Add new line or break?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Scintilla -> Add new line or break?

    Sorry, I'm not sure what you mean. Are you inserting the text via an action?

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Scintilla -> Add new line or break?

    Hmm. Are you using the latest beta? Seems weird, I will look into it.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    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

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    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?

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    UK
    Posts
    842
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Scintilla -> Add new line or break?

    Got you now! Newline$ works a treat.

    thanks
    Andy

  10. #10
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Scintilla -> Add new line or break?

    Was just gonna show you Good you figured it out.

Similar Threads

  1. remove line with scintilla
    By iOSC in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 6th March 2013, 07:51 AM
  2. Beta 28 -- Double spaces in string cause line break
    By Jeff in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 17th May 2012, 05:36 PM
  3. line break
    By arfa in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th February 2012, 04:56 PM
  4. Scintilla Bug.
    By QS in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th May 2010, 02:55 AM
  5. Line break in a DialogBox
    By Simon in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 19th July 2006, 07:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •