• Login
Community
  • Login

KOS in KSP word wraping???

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 1.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Robert McQuillen
    last edited by Mar 4, 2018, 3:38 PM

    Hi every one I’m using the newly found Notepad++ for a in game Scripting add on Mod. The problem is I can use just plan note pad to make these plane text files but in notepad++ when I save my work it all gets squeezed together as in “set warp to 3.if (x + y)=5{do this}.//comment” in stead of.
    set warp to 3.
    if (x=y) + 32{
    do this
    }
    //comment
    This cause a problem in the in game compiler.
    Also I haven’t used the set your language features yet.
    Any help? thank you Rob

    1 Reply Last reply Reply Quote 0
    • T
      TonyP
      last edited by TonyP Mar 6, 2018, 2:52 PM Mar 6, 2018, 2:50 PM

      you have to check what end of line setting is set for your files. you can check by opening a known good file and going to Edit menu - EOL Conversion - and see what OS is grayed out. that is the type you have to save your file as. also check the files encoding in the Encoding menu. it will tell you what document type the file is in. Also check your Settings menu - Preferences to see if the New Document is set for your specific line ending and encoding. i have mine set to windows and use ascii encoding by default but if you need to change the encoding just use the encoding menu to convert to the encoding you need. also if the line ending is unix (LF) when you open the file in a regular windows notepad you will see the text in one line as windows programs look for (CR+LF) as line ending.

      1 Reply Last reply Reply Quote 0
      • R
        Robert McQuillen
        last edited by Mar 9, 2018, 1:24 PM

        Thanks Ill try that.

        1 Reply Last reply Reply Quote 0
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors