• Launching Notepad++ from command line with -ro argument

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Meta ChuhM

    welcome to the notepad++ community, @John-Dy-Chee-Puat

    the -ro argument only works, if a file is not yet opened in a previous session.
    the session has a higher priority and the read only setting of a session overrides the -ro switch.

    if you want to open specific multiple files as read only, you can use the command line:
    notepad++.exe -ro -nosession change.log license.txt.
    note: this will disable session snapshot and periodic backup at the preferences, to try to avoid overwriting the previous session.xml.

    recommended: if you usually open more or less the same bunch of files as read only, you can open those files, set them as read only, and save this as a session at file > save session for future use.
    loading a saved session will set the saved read only status to the session’s state, regardless if the file is already opened in an opposite state.

    best regards.

  • Convert 24 hour military time to 12 hour time

    12
  • Need to Always/Permanently highlight non-ASCII characters

    Locked
    3
    1 Votes
    3 Posts
    580 Views
    Alan KilbornA

    @bisdavid If all that is done is to “automatically highlight any such characters whenever I open”, aren’t you still going to have to “search”…because what if said characters aren’t in the current viewable area; you won’t know if a file contains any “bad” characters or not?

  • Feature Request: Add Arduino Sketch INO files to file menu

    12
    0 Votes
    12 Posts
    3k Views
    Meta ChuhM

    @Alan-Kilborn

    only if you merge the parts you need from Arduino.xml to cpp.xml.
    so you would use the c++ lexer with an extended cpp.xml autocompletion file for arduino.

  • How to make Notepad++ to forget old installation path

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Meta ChuhM

    @Installer

    splendid, at least you’ve got it working with the /D switch.

    there must be still a residue either at the registry installer information, or file based left overs, maybe on D:\Notepad++, but it shouldn’t be any problem, if you don’t have the time to keep on searching, as the next update or silent install will use the new installer path, unless you uninstall notepad++ first.

    best regards.

  • Error message closing find results window

    25
    1 Votes
    25 Posts
    4k Views
    Meta ChuhM

    @Zach-Mayfield

    good to hear that.
    the next release (7.7) will be code signed again.

    a little warning: 7.7 is a major upgrade jump of the integrated scintilla editor engine, as well as the boost regex engine, so we expect some unknown issues yet to arise, while some others, depending on old engine’s issues, will be fixed.

    many thanks and best regards.

  • Feature request: Make your self more like ms-notepad.exe

    Locked
    2
    0 Votes
    2 Posts
    375 Views
    Meta ChuhM

    welcome to the notepad++ community, @מוטי-דר.

    unfortunately rtl languages, especially mixed rtl text in ltr view, are still a big problem for the scintilla editor component notepad++ is using.

    we can not do anything about that at the notepad++ part, as scintilla is a completely independent project.

    if you like, you can browse scintilla feature requests and bugs here:
    https://sourceforge.net/p/scintilla/feature-requests/
    https://sourceforge.net/p/scintilla/bugs/

    many thanks and best regards.

  • Search with wildcards

    11
    0 Votes
    11 Posts
    2k Views
    Meta ChuhM

    @Diego-Sabah

    find what: <img alt(.*?)("|"\r\n|"\n)(.*?)mysite.com(.*?)$
    replace with: your_content

    note: keep . matches newline disabled at the search mode settings, to avoid multi line matches.

    best regards.

  • Project panel does not pop up

    Locked
    8
    1 Votes
    8 Posts
    1k Views
    Pierre HuybensP

    @Ekopalypse : Yes, this was the solution, Now the Workspace windows is pop up again.
    Many many thanks Ekopalypse.

  • Tab replaces all leading spaces

    Locked
    18
    2 Votes
    18 Posts
    5k Views
    Alan KilbornA

    @Ekopalypse said:

    how should a program know this beforehand

    I’m not following this thread super-closely because in my now 3 decades of software development, the coding standard has been to never allow the use of actual tab characters in source files. But I would think it should replicate the indentation exactly of the line-above, but let the user then edit that and leave it the way the user changes it…but I am too dumb about it to continue talking… :)

  • Where are my plugins? How can I activate my own plugins?

    Locked
    4
    0 Votes
    4 Posts
    842 Views
    Ollo HeßO

    Thank you very much!

  • NeWDocDefaultSettings lang:1 ; settings , which file to modify ?

    Locked
    2
    0 Votes
    2 Posts
    405 Views
    dinkumoilD

    @WestJc

    The NewDocDefaultSettings is an XML node in <Npp-install-dir>\config.model.xml respectively %APPDATA%\Notepad++\config.xml but it’s for configuring EOL format, character encoding and default (programming) language for new files, thus it is not suitable for what you want to achieve.

    But you could try the NewFileBrowser plugin. It provides the ability to define templates for two programming languages which can be assigned to a keyboard shortcut.

    Note: The plugin is only available as 32 bit version. You can install it via PluginManager (up to Notepad++ v7.5.9) or via PluginsAdmin (Notepad++ v7.6 and above).

  • user defined languages and keywords without spaces

    Locked
    2
    0 Votes
    2 Posts
    637 Views
    EkopalypseE

    @EdoCarbone

    No, UDL isn’t good in this case. Depending on your exact needs you might get reasonable results by using marking feature or by using a scripting plugin like pythonscript, luascript etc…

  • Split View

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    cipher-1024C

    You had me at “quibble”.

  • 0 Votes
    3 Posts
    903 Views
    Ioakeim FragkoulisI

    Hello @PeterJones ,

    Thank you for your welcome as well as your fast and prompt reply. Your solution worked perfect.

    I wanted to remove all text starting from 175.19.61.11 up to and including SyslogWorker - but when 175.19.61.11 is on 17th digit and not in the beginning or anywhere else in the text. I didn’t know actually how to include a line in my Find.

    What i used was: 175.19.61.11.*?SyslogWorker which did not include the check of characters position on the line. Now with your Find it worked fine.

    P.S.This is my first post on this forum so i didn’t notice the use of Markdown so for further posts i will follow these tips :)

  • 0 Votes
    7 Posts
    2k Views
    Meta ChuhM

    @Jim-Dailey

    you’ve just made my day, with style ;-)

  • Line wrap

    Locked
    2
    0 Votes
    2 Posts
    575 Views
    PeterJonesP

    @Francisco-Pataro , welcome to the Community.

    Thanks for providing the debug info.

    Unfortunately, I cannot replicate your problem. Line wrap works just fine for me, in either 7.6.6 64-bit

    or 7.6.6 32-bit

    Is there something more you can give us, that will help us understand what’s going wrong for you?

  • Package Manager System.

    Locked
    1
    -1 Votes
    1 Posts
    374 Views
    No one has replied
  • access violation popup message

    10
    0 Votes
    10 Posts
    16k Views
    JuanJ

    I had this error with Notepad++ 7.5.7 when using TextFX to sort lines by a given column

  • find and replace

    Locked
    3
    0 Votes
    3 Posts
    718 Views
    Ivan KuzmichI

    Awesome. thank you!