• DSpell Check

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Kasper GraversenK

    supply a screenshot

  • Tamil Unicode font in notepad++

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • How to join 4 line in 1 onbig file

    2
    0 Votes
    2 Posts
    2k Views
    Matyáš KrupičkaM

    replace with regular expression mode

    (^id.*)\r\n(.*)\r\n(.*)\r\n(.*)
    with
    \1 | \2 | \3 | \4 |

    It is pretty ugly regexp, but will do the trick

  • Replacement of code (several lines) by only one line

    4
    0 Votes
    4 Posts
    3k Views
    Matyáš KrupičkaM

    EDIT:

    When preparing one line, replace
    \r\n
    with
    \\r\\n

  • Save Question

    4
    0 Votes
    4 Posts
    3k Views
    Scott SumnerS

    It might be a bit unfair to “not recommend” a program because you don’t like one of its many features, especially when that one behavior is configurable.

  • How to automate escaping apostrophes in sql

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • A plugin for save sentences...

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Matt AndersonM

    I use the Snippets plugin for my HTML/CSS pages. It has a lot of tags built-in and you can edit those and add your own tags or “quick text” phrases. It has some SQL code built-in also. I originally used it just for the built-in HTML tags but now I have all the tags I frequently use with class names and such already added in, as well as any code or phrases I use a lot. You can also use it for page templates with tabs/spacing already set up.

  • file does not exist anymore - close all tabs ?

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • how to delete data on line as example

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Sabah-Siddiqui

    too many open questions.

    Are a b d f variable in length? Or is it really one char?
    Is the pipe symbol part of the data?
    Is it true that there is a space after the char v in | v | (line 3)
    but not after char d in | d| (line 2 and 1)?

    Cheers
    Claudia

  • Function List: I can't get Function List to recognize file extension

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Tim-Wright

    I would have expected this to be a one liner

    <association ext=".nut" userDefinedLangName="squirrel" id="squirrel_function"/>

    and once defined in functionlist.xml did you restart npp?
    The above seems to work.

    Cheers
    Claudia

  • Multi-editing source code

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @centaurialpha

    you may want to check columnEditor.cpp

    Cheers
    Claudia

  • how I am supposed to underline..?

    4
    0 Votes
    4 Posts
    22k Views
    Claudia FrankC

    @akmbd166

    yes it does, because there is specific code which is responsible doing it, nevertheless it is true what gerdb42 mentioned.
    It isn’t saved within the file rather than the code is scanning every time if there is an url in the text which needs to be underlined.
    So yes, you could argue it can be done but not in the way like word, writer, ms notepad, … it does. If you want to have such
    functionality you basically need to write your own plugin to do it and as gerdb42 said, this is a different beast.

    Cheers
    Claudia

  • Developer Needed...

    4
    1 Votes
    4 Posts
    3k Views
    Claudia FrankC

    @Chris-Mckevitt

    Scintilla is the component which
    is used by notepad++ to do all the coloring, folding, styling, … stuff of your language.
    A lexer is the component which calculates which parts should be colored, folded, styled etc…

    Scintilla itself has already a lot of builtin lexers but it also provides an interface for writing
    own lexers e.g. the UDL from npp. Those lexers are written by different programmers,
    although they may use the same scintilla version they are slightly different in functionality
    and representation. E.g. put the following python code into a doc and set the lexer to python

    def foo(): # comment pass

    you will see that folding starts from line 1 and includes line 3.
    Use this vbs code and do the same (except you want select visual basic as lexer)

    Sub Foo() 'comment End Sub

    You will see that folding starts also at line 1 but doesn’t include the last line.
    Even more critical is when pasting this, which from vbs syntax view is absolutely ok, into a doc.

    Sub Foo() 'comment End Sub

    This results in no folding at all. Why? Because the visual basic lexer programmer decided to
    write the folding logic based on indention and not doing complex code analysis.
    Which is fine, as long as the vbs user does the same kind of code styling.

    So you see, even if one of the language lexer you use behaves the way you like,
    there is no guarantee that others act the same.

    When you want to write your own lexer than I would recommend to check the code of one of the existing lexers.
    This Gmod LUA plugin is known to be a good example but must admit that I never used or checked the code myself.

    Cheers
    Claudia

  • Recovering files lost in a restart

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    dailD

    Hopefully you have backups enabled. If so check %APPDATA%\Notepad++\backups (or some directory very similar)

  • bug + question about comment highlighting

    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    @Nicolas-

    Yes, unfortunately regex isn’t working.

    Cheers
    Claudia

  • What are these numbers on the left ?

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    hzdecvuvcZccCdH

    Ah, makes sense.
    Solved, thank you.

  • Seatch text file add leading 0 to single digit number

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    You could try something like this (be sure to check Regular expression in the Replace dialog):

    Find what: ([^0-9])([0-9][^0-9]) Replace with: \10\2

    It finds any character that is NOT in the set [0…9] followed by a character that is, followed by any character that is not. That gets replaced by the first character found, a “0”, and the last 2 characters that were found.

  • Error Saving

    4
    1 Votes
    4 Posts
    3k Views
    John BowmanJ

    In Settings > Preferences > Editing you can set the Default Directory to the Documents folder (or any folder you want)… that might be what you are looking for.

  • Function parameters hint for custom functions

    3
    0 Votes
    3 Posts
    3k Views
    Grega SeverG

    Thank you!

  • i know this must seem simple but i need help with regex (formula)

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Joe BlowJ

    Ok figured that one out as well…thanks all that helped over these few months