• Tab and Help screen font size too big - Windows 10

    6
    1 Votes
    6 Posts
    16k Views
    Oliver KoppO

    The issue is also discussed at http://superuser.com/q/934701/138868. The current work around is to use Settings -> Preferences -> General -> “Tab Bar” -> Uncheck “Reduce”

  • What's the intended method for using auto insert of () {} etc?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    You can type the closing “)” for sure. Don’t know about the “}”.

  • file only opens in code and not sentences any more, why?

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

    Hi Penny,
    I’m afraid that without either an example of that file, or more information, noone will be able to help you.
    What kind of file are you opening? What kind of data is it suppose to contain? What language is the file written in? Is it the problem with all files, or just this one? In what editor did you open it in past? Can other plaintext editors (like normal win notepad) open it?
    Etc.

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

    Hi,
    there are none :)

    If you want to perform this kind of replacement, you will need to learn regular expressions (a.k.a. regexp).

    There are dozens of tutorial on the net, e.g. here:
    http://www.regular-expressions.info/

    I should warn you though, that regexp are like women: powerful, mysterious and unforgiving :)
    And they usually don’t behave the way you expect.
    But don’t be discouraged. It is a great tool, if used properly. In my work, where I deal a lot with a plaintext processing, I would be lost without them

    Anyway, answer to your particular question about space between two numbers is
    with regexp search mode:
    Replace
    (\d),(\d)
    with
    \1 \2

  • 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.