• Why NotePad++ doesn't edit Dart codes?

    4
    0 Votes
    4 Posts
    8k Views
    Dark GTD

    Better choice is to select “SmallTalk”, much more highlights.

  • Show git status in the sidebar

    1
    0 Votes
    1 Posts
    174 Views
    No one has replied
  • Comparing text files that are sorted differently - similar function lists

    1
    0 Votes
    1 Posts
    222 Views
    No one has replied
  • I want to make a certain range one line

    2
    0 Votes
    2 Posts
    154 Views
    guy038G

    Hello, @김성찬 and All,

    Here is a method, using regular expression syntax :

    Open the Replace dialog ( Ctrl + F )

    SEARCH ^\R|(\R)(?!\R)

    REPLACE ?1\x20

    Tick the Wrap around option, if necessary

    Select the Regular expression search mode

    Click on the Replace All button

    Voila !

    Notes :

    The search regex tries to match, either :

    True empty lines ( part ^\R ), which are deleted during replacement

    EOL char(s), stored in group 1 ( as embedded in parentheses ) ONLY IF  not followed with others EOL character(s) ( part (\R)(?!\R) )

    In replacement, when group1 exists ( second alternative ) we replace the line-break with a space char

    Best Regards

    guy038

  • Not able to download dictionary for DSpell Check plugin

    1
    0 Votes
    1 Posts
    199 Views
    No one has replied
  • Help with changing view of single line

    7
    0 Votes
    7 Posts
    13k Views
    Alan KilbornA

    If the OP really wants an “alternate view” of the file, I think the true answer might be to use a script to capture the opening/closing events. The opening even could do the replacement operation I provided earlier and the closing/saving event could put the data all back on one line. I’m keeping this rather vague because the OP was rather vague about the whole thing.

  • Shell language highlighting completely fucked after upgrade

    2
    0 Votes
    2 Posts
    210 Views
    EkopalypseE

    @Santiago-DIEZ

    That’s a big version jump, a lot of changes etc…
    I assume you have to delete, risking to loose all custom changes if any done, stylers.xml, langs.xml and let it recreate during npp startup.
    Depending on your configuration those files are on different places.
    See here for more details.

  • reopening unsaved document(urgent)

    2
    0 Votes
    2 Posts
    183 Views
    Alan KilbornA

    @Elif-Taşkın

    If it was a file you had taken the time to give a name to on disk, when you close it, the last saved version would be there.

    However, if you were operating on an “I’m not going to save my files, I’m going to let Notepad++ keep track of them” basis, then if you close it and say no to the prompt to save, IT’S GONE.

  • Why is my macro not working?

    6
    0 Votes
    6 Posts
    680 Views
    yhjtgt6hhrf 4frtgyY

    Have same problem, restart macro

  • Notepad++ 7.1: network drives not visible

    4
    0 Votes
    4 Posts
    6k Views
    Costa ZachariouC

    @Stickleback-Ne Thank you. Works like a charm… :-)

  • Need help filtering lines starting with same strings

    10
    0 Votes
    10 Posts
    3k Views
    Terry RT

    @guy038 said in Need help filtering lines starting with same strings:

    Ah, Terry, nice shot ! Just one question :

    I guess I’m not a greedy person😉. Actually I guess I just didn’t proof my solution well enough. I had a concept in my mind, quickly tested it, found it worked and posted.

    Of course as I was intending to grab the whole line use of the lazy parameter was just a rookie mistake. At least no harm, no foul, eh? (<-- oops, there it goes again)

    Terry

  • I have some problems making my own Language.

    3
    0 Votes
    3 Posts
    865 Views
    EkopalypseE

    Not sure you can do this but what I normally do in such a case is
    using Delimiters with different open but same close tags
    and one unique folder setting.
    Something like this for example

    6991876e-76a0-4151-ab08-49528ce7831c-image.png

    c0613137-4dd1-4911-8cbc-d811353fc66f-image.png

  • Webedit working but prompt every time

    2
    0 Votes
    2 Posts
    178 Views
    EkopalypseE

    @Vikrant-Chauhan

    sounds like you are trying to load a plugin which has a different “bitness”
    as to compared to Npp. For example, trying to use a 32bit plugin with a 64bit Npp or vice versa.

  • Deleting characters after 30,000 length

    9
    0 Votes
    9 Posts
    1k Views
    Alan KilbornA

    @Matt-Bennett

    This is true but probably the OP has no idea what gnu/cut/linux/cygwin/wsl are.
    As this is a Notepad++ forum, please try to confine answers to techniques within Notepad++ unless there truly is no way to do it with Notepad++.

  • no Auto-Indent in Preferences Misc in version 7.8.5

    3
    0 Votes
    3 Posts
    196 Views
    Eric MüllerE

    Great, that is it! Thanks!

  • File edits not changing file status

    26
    0 Votes
    26 Posts
    4k Views
    doubledeejD

    Still not working correctly in 7.8.6.

  • Auto position to selected line in file?

    7
    0 Votes
    7 Posts
    382 Views
    Alan KilbornA

    @Alan-Kilborn

    Oops, typo in link; actually, see HERE .

  • Syntax highlighting of unsaved files?

    9
    1 Votes
    9 Posts
    894 Views
    EkopalypseE

    @Alan-Kilborn said in Syntax highlighting of unsaved files?:

    From my understanding, @Ekopalypse is not an English speaker,

    Yes, correct.

    yet his posts make perfect sense.

    I’m not sure about that. :-)

    I understand he uses deepl.com for translating from his language to > English before posting.

    Most of the time I do.
    If I can give short answers, I sometimes try to do it without a translator.
    And I think it is easy to find out which posts are written with and without deepl.com. :-)

  • Collapse items with keyboard

    2
    0 Votes
    2 Posts
    295 Views
    Michael VincentM

    @Benny-Tordrup
    You mean code folding? See the menu item:

    View =>
    Fold All
    Unfold All
    Collapse Current Level
    Uncollapse Current Level
    Collapse Level >
    Uncollapse Level >

    All of them have default keyboard shortcuts for me, which can be remapped if you don’t like them through menu:

    Settings => Shortcut Mapper…

    Cheers.

  • Notpad permission linux

    3
    0 Votes
    3 Posts
    1k Views
    gerdb42G

    Are you running Notepad++ as Administrator (it shows [Administrator]in the Titlebar)? Drive mappings are normally invisible to Programs running elevated (aka “As Administrator”). There are several ways to work around this:

    Run Notepad++ as regular user Use UNC path (\\<servername>\<sharename>\<path>) instead of mapped drive Map drive in elevated command prompt with net use command