• Login
Community
  • Login

word wrapp settings are not saved

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 610 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.
  • A
    Anonym Inkognito
    last edited by Oct 24, 2019, 4:39 PM

    I use the portable version of npp 7.8.0.0. After starting npp the word wrap is disabled. When i enable word wrap and restart npp word wrap is disabled again. Is there any solution to save word wrap mode setting as always enabled?

    1 Reply Last reply Reply Quote 0
    • P
      PeterJones
      last edited by Oct 24, 2019, 4:48 PM

      I just tried with Notepad++ v7.8

      Notepad++ v7.8   (64-bit)
      Build time : Oct  7 2019 - 00:55:55
      Path : C:\usr\local\apps\npp-other\npp.7.8.bin.x64\notepad++.exe
      Admin mode : OFF
      Local Conf mode : ON
      OS Name : Windows 10 Enterprise (64-bit) 
      OS Version : 1903
      OS Build : 18362.418
      Plugins : mimeTools.dll NppConverter.dll NppExport.dll 
      

      When I exit with wrap enabled, config.xml contains the line

              <GUIConfig name="ScintillaPrimaryView" lineNumberMargin="show" bookMarkMargin="show" indentGuideLine="show" folderMarkStyle="box" lineWrapMethod="aligned" currentLineHilitingShow="show" scrollBeyondLastLine="no" disableAdvancedScrolling="no" wrapSymbolShow="hide" Wrap="yes" borderEdge="yes" edge="no" edgeNbColumn="80" zoom="0" zoom2="0" whiteSpaceShow="hide" eolShow="hide" borderWidth="2" smoothFont="no" />
      

      When I exit with wrap disabled, config.xml contains the line:

              <GUIConfig name="ScintillaPrimaryView" lineNumberMargin="show" bookMarkMargin="show" indentGuideLine="show" folderMarkStyle="box" lineWrapMethod="aligned" currentLineHilitingShow="show" scrollBeyondLastLine="no" disableAdvancedScrolling="no" wrapSymbolShow="hide" Wrap="no" borderEdge="yes" edge="no" edgeNbColumn="80" zoom="0" zoom2="0" whiteSpaceShow="hide" eolShow="hide" borderWidth="2" smoothFont="no" />
      

      Note it changes from Wrap="yes" to Wrap="no".

      If you want a portable version to save settings between runs, you have to have write permission to the portable folder, including config.xml (and other such files) in that folder.

      1 Reply Last reply Reply Quote 1
      • A
        Anonym Inkognito
        last edited by Oct 24, 2019, 11:15 PM

        Thank you very much!

        The folder was write protected, after i set the permission to folder and files it still doesnt save the setting.

        The config.xml was hidden, so i set it to visible and changed the setting Wrap=“no” to Wrap=“yes”. After restart npp the word wrap was enabled.
        But then, if i disabled this setting with the button and restart npp the setting was enabled again (vice versa problem).

        Then i started npp one time with right click/admin rights and i noticed a change at the date from the config.xml file. From now on i can change the settings and everything worked now.

        Problem solved with your help.
        Thanks again :)

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