• nppcrypt

    Locked
    2
    0 Votes
    2 Posts
    1k Views
  • Autobackups not working v7.5.4?

    3
    0 Votes
    3 Posts
    1k Views
    Claudia FrankC

    @Stuart-Halliday

    note sure if I understand correctly, do you mean the backup directory under
    session snapshot and periodic update (which cannot be changed easily) or
    the one under backup on save? If the latter is the case, then it should be possible
    to change. If it can’t, I would suggest to disable backup - restart npp and re-enable it.

    If you want to change the one under session snapshot…
    then there are only two ways as far as I know.
    Either you create a link named backup and which points to the directory of your choice
    or you use the cloud settings path.

    Cheers
    Claudia

  • "Sel" value is different from number of characters selected

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @zingiel

    which npp version (? menu->debug-info ) do you use and can you share an example file which shows this results?

    Cheers
    Claudia

  • search inside brackets

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Anita NieuwA

    GREAT, thank you very, very much! I’m happy :)

  • Can I make document tabs equal width?

    Locked
    4
    1 Votes
    4 Posts
    2k Views
    Scott SumnerS

    @Sunny-Time

    I’m not at all sure what that means (!), but if it helps, you can remove the X from the tabs by doing this:

    Click Settings menu Click Preferences… Click General in the box on the left In the Tab Bar area on the right, un-tick this option: Show close button on each tab
  • [PLUGIN] N++ jumps view on selecting a different line

    5
    0 Votes
    5 Posts
    1k Views
    Aleksi KolehmainenA

    Thanks! I did manage to figure out the word wrap solution on my own, even as I am a dummy. Looking forward to the next release! :)

  • UDL syntax tool runs out of gas

    3
    0 Votes
    3 Posts
    1k Views
    Reilly BurkeR

    Hi Claudia-

    Notepad++ v6.9.2
    Build time : May 18 2016 - 00:34:05
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 7
    Local language: SharkBase (VP-Info multi-user)

    Briefly, I started again from scratch, and this time the hi-lighting covered the entire file (about 600 lines). I possibly made some kind of syntax error when defining my language, or perhaps a recent NPP update fixed it. I will never know which it was. Regardless, in spite of its defining shortcomings, it’s a useful tool with lots of potential. i will keep working with it for now.

  • RegEx Expression to count a WORD in LINES

    Locked
    4
    1 Votes
    4 Posts
    5k Views
    Elijah 5801E

    I’m so appreciate this forum, the pros have solved two RegEx problems for me this weekend.

    Thanks to Scott and Guy038.

    Interestingly both your methods works perfectly.

  • How to place all bookmarked lines in document on the top

    Locked
    2
    1 Votes
    2 Posts
    814 Views
    Scott SumnerS

    @Rana-Jawad

    Not hard if you know about the Bookmark menu:

    Cut your bookmarked lines (see Search (menu) -> Bookmark -> Cut Bookmarked Lines) Move caret to top of document Paste
  • 0 Votes
    2 Posts
    6k Views
    guy038G

    Hello, @jaack-mcmahon, and All,

    Here, is, bellow, a NON-exhaustive table of some Unicode characters, with code-point, above 007Fh, taken from the following Unicode blocks :

    Latin 1 Supplement General Punctuation Mathematical Operators Miscellaneous Symbols Specials

    which can be replaced by a similar standard ASCII character, with code-point < 0080h :

    +--------------------------------------------------------------+---------------------------------------------+ | NON-ASCII Character with Code > \x{007F} | Similar Character(s) with Code < \x{0080} | +--------------------------------------------------------------+---------------------------------------------+ | Code | Char | Character Name | Code | Char | Character Name | +--------+------+----------------------------------------------+--------+---------+--------------------------+ | 00A0 |   | NO-BREAK SPACE | 0020 | | SPACE | | 00A6 | ¦ | BROKEN BAR | 007C | | | VERTICAL LINE | | 00AB | « | LEFT-POINTING DOUBLE ANGLE QUOTATION MARK | 0022 | " | QUOTATION MARK | | 00AD | ­ | SOFT HYPHEN | 002D | - | HYPHEN-MINUS | | 00B4 | ´ | ACUTE ACCENT | 0027 | ' | APOSTROPHE | | 00B7 | · | MIDDLE DOT | 002E | . | FULL STOP | | 00BB | » | RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK | 0022 | " | QUOTATION MARK | | 00BC | ¼ | VULGAR FRACTION ONE QUARTER | | 1/4 | | | 00BD | ½ | VULGAR FRACTION ONE HALF | | 1/2 | | | 00BE | ¾ | VULGAR FRACTION THREE QUARTERS | | 3/4 | | | 00D7 | × | MULTIPLICATION SIGN | 0078 | x | LATIN SMALL LETTER X | +--------+------+----------------------------------------------+--------+---------+--------------------------+ | 2000 |   | EN QUAD | | \x20{2} | | | 2001 |   | EM QUAD | | \x20{4} | | | 2002 |   | EN SPACE | | \x20{2} | | | 2003 |   | EM SPACE | | \x20{4} | | | 2004 |   | THREE-PER-EM SPACE | 0020 | | SPACE | | 2005 |   | FOUR-PER-EM SPACE | 0020 | | SPACE | | 2007 |   | FIGURE SPACE | | \x20{2} | | | 2008 |   | PUNCTUATION SPACE | 0020 | | SPACE | | 2010 | ‐ | HYPHEN | 002D | - | HYPHEN-MINUS | | 2011 | ‑ | NON-BREAKING HYPHEN | 002D | - | HYPHEN-MINUS | | 2012 | ‒ | FIGURE DASH | | -- | | | 2013 | – | EN DASH | 002D | - | HYPHEN-MINUS | | 2014 | — | EM DASH | 002D | - | HYPHEN-MINUS | | 2015 | ― | HORIZONTAL BAR | 002D | - | HYPHEN-MINUS | | 2016 | ‖ | DOUBLE VERTICAL LINE | | || | | | 2018 | ‘ | LEFT SINGLE QUOTATION MARK | 0027 | ' | APOSTROPHE | | 2019 | ’ | RIGHT SINGLE QUOTATION MARK | 0027 | ' | APOSTROPHE | | 201A | ‚ | SINGLE LOW-9 QUOTATION MARK | 002C | , | COMMA | | 201B | ‛ | SINGLE HIGH-REVERSED-9 QUOTATION MARK | 0060 | ` | GRAVE ACCENT | | 201C | “ | LEFT DOUBLE QUOTATION MARK | 0022 | " | QUOTATION MARK | | 201D | ” | RIGHT DOUBLE QUOTATION MARK | 0022 | " | QUOTATION MARK | | 201E | „ | DOUBLE LOW-9 QUOTATION MARK | | ,, | | | 201F | ‟ | DOUBLE HIGH-REVERSED-9 QUOTATION MARK | 0022 | " | QUOTATION MARK | | 2022 | • | BULLET | 002E | . | FULL STOP | | 2024 | ․ | ONE DOT LEADER | 002E | . | FULL STOP | | 2025 | ‥ | TWO DOT LEADER | | .. | | | 2026 | … | HORIZONTAL ELLIPSIS | | ... | | | 2032 | ′ | PRIME | 0027 | ' | APOSTROPHE | | 2033 | ″ | DOUBLE PRIME | | '' | | | 2034 | ‴ | TRIPLE PRIME | | ''' | | | 2035 | ‵ | REVERSED PRIME | 0060 | ` | GRAVE ACCENT | | 2036 | ‶ | REVERSED DOUBLE PRIME | | `` | | | 2037 | ‷ | REVERSED TRIPLE PRIME | | ``` | | | 2039 | ‹ | SINGLE LEFT-POINTING ANGLE QUOTATION MARK | 003C | < | LESS-THAN SIGN | | 203A | › | SINGLE RIGHT-POINTING ANGLE QUOTATION MARK | 003E | > | GREATER-THAN SIGN | | 203D | ‽ | INTERROBANG | | !? | | | 2044 | ⁄ | FRACTION SLASH | 002F | / | SOLIDUS | +--------+------+----------------------------------------------+--------+---------+--------------------------+ | 2212 | − | MINUS SIGN | 002D | - | HYPHEN-MINUS | | 2215 | ∕ | DIVISION SLASH | 002F | / | SOLIDUS | | 2216 | ∖ | SET MINUS | 005C | \ | REVERSE SOLIDUS | | 2217 | ∗ | ASTERISK OPERATOR | 002A | * | ASTERISK | | 2223 | ∣ | DIVIDES | 007C | | | VERTICAL LINE | | 2225 | ∥ | PARALLEL TO | | || | | | 2227 | ∧ | LOGICAL AND | 005E | ^ | CIRCUMFLEX ACCENT | | 2228 | ∨ | LOGICAL OR | 0056 | V | LATIN CAPITAL LETTER V | | 222A | ∪ | UNION | 0055 | U | LATIN CAPITAL LETTER U | | 2236 | ∶ | RATIO | 003A | : | COLON | | 2237 | ∷ | PROPORTION | | :: | | | 2239 | ∹ | EXCESS | | -: | | | 223C | ∼ | TILDE OPERATOR | 007E | ~ | TILDE | | 2254 | ≔ | COLON EQUALS | | := | | | 2255 | ≕ | EQUALS COLON | | =: | | | 2264 | ≤ | LESS-THAN OR EQUAL TO | | <= | | | 2265 | ≥ | GREATER-THAN OR EQUAL TO | | >= | | | 226A | ≪ | MUCH LESS-THAN | | << | | | 226B | ≫ | MUCH GREATER-THAN | | >> | | | 2276 | ≶ | LESS-THAN OR GREATER-THAN | | <|> | | | 2277 | ≷ | GREATER-THAN OR LESS-THAN | | >|< | | | 22C0 | ⋀ | N-ARY LOGICAL AND | 005E | ^ | CIRCUMFLEX ACCENT | | 22C1 | ⋁ | N-ARY LOGICAL OR | 0056 | V | LATIN CAPITAL LETTER V | | 22C3 | ⋃ | N-ARY UNION | 0055 | U | LATIN CAPITAL LETTER U | | 22C5 | ⋅ | DOT OPERATOR | 002E | . | FULL STOP | | 22C6 | ⋆ | STAR OPERATOR | 002A | * | ASTERISK | | 22D8 | ⋘ | VERY MUCH LESS-THAN | | <<< | | | 22D9 | ⋙ | VERY MUCH GREATER-THAN | | >>> | | | 22EF | ⋯ | MIDLINE HORIZONTAL ELLIPSIS | | ... | | +--------+------+----------------------------------------------+--------+---------+--------------------------+ | 2639 | ☹ | WHITE FROWNING FACE | | :-( | | | 263A | ☺ | WHITE SMILING FACE | | :-) | | +--------+------+----------------------------------------------+--------+---------+--------------------------+ | FFFD | � | REPLACEMENT CHARACTER | 003F | ? | QUESTION MARK | +--------+------+----------------------------------------------+--------+---------+--------------------------+

    Now, let’s suppose that, from the list, below, you would like to replace these 14 Unicode characters, on the left, with their similar standard character, on the right :

    | 00A6 | ¦ | BROKEN BAR | 007C | | | VERTICAL LINE | | 00BD | ½ | VULGAR FRACTION ONE HALF | | 1/2 | | | 2000 |   | EN QUAD | | \x20{2} | | | 2001 |   | EM QUAD | | \x20{4} | | | 2018 | ‘ | LEFT SINGLE QUOTATION MARK | 0027 | ' | APOSTROPHE | | 2019 | ’ | RIGHT SINGLE QUOTATION MARK | 0027 | ' | APOSTROPHE | | 201C | “ | LEFT DOUBLE QUOTATION MARK | 0022 | " | QUOTATION MARK | | 201D | ” | RIGHT DOUBLE QUOTATION MARK | 0022 | " | QUOTATION MARK | | 203D | ‽ | INTERROBANG | | !? | | | 2264 | ≤ | LESS-THAN OR EQUAL TO | | <= | | | 2265 | ≥ | GREATER-THAN OR EQUAL TO | | >= | | | 2639 | ☹ | WHITE FROWNING FACE | | :-( | | | 263A | ☺ | WHITE SMILING FACE | | :-) | | | FFFD | � | REPLACEMENT CHARACTER | 003F | ? | QUESTION MARK |

    Then :

    Open the Replace dialog, in N++ ( Ctrl + H )

    Type in the regex (¦)|(½)|( )|( )|(‘)|(’)|(“)|(”)|(‽)|(≤)|(≥)|(☹)|(☺)|(�), in the Find what: zone

    Type in the regex (?1|)(?{2}1/2)(?3\x20\x20)(?4\x20\x20\x20\x20)(?5')(?6')(?7")(?8")(?9!?)(?{10}<=)(?{11}>=)(?{12}\:-\()(?{13}\:-\))(?{14}?), in the Replace with: zone

    Tick the Wrap around option

    Select the Regular expression search mode

    Click, once , on the Replace All button, or several times on the Replace button

    Et voilà !

    Notes :

    In search, we, simply, put each character, to be replaced, between round parentheses, in order to be stored as group 1, 2 and so on…

    In replacement, we use a special conditional syntax (?#xxxx:yyyy) or (?{#..#}xxxx:yyyy), where :

    # or #...# represents a group number

    The part xxxx is rewritten, if group # or #...# exists

    The part yyyy is rewritten, if group # or #...# does not exist

    In our case, the ELSE part, in each conditional replacement, is not present

    If a part xxxx or yyyy contains the character :, ( or ), it must be escaped ( preceded ) with a \ symbol

    For the second conditional replacement, I used the syntax (?{2}1/2), on purpose ! Indeed, if I would have used the (?21/2) syntax, the regex engine would have, wrongly, tried to replace any searched group 21 with the /2 string !!

    To end with, note that quantifiers, as {#}, do not work, in replacement. So we need to change, for instance, the \x20{2} syntax ( 2 space characters) by the simple \x20\x20 one !

    Best Regards,

    guy038

  • Counting Characters

    4
    0 Votes
    4 Posts
    29k Views
    Gogo NeatzaG

    Notepad-plus-plus can do better. Check the View menu - Summary.
    This is the report about my test file:
    “Summary
    Characters (without blanks): 210
    Words: 10
    Lines: 10
    Current document length: 228
    9 selected characters (9 bytes) in 2 ranqes”

    The last line is displayed because I had two selected blocks at the time I wanted the ‘Summary’.

  • Print Preferences for the header - BOLD and Italics won't save

    Locked
    2
    0 Votes
    2 Posts
    967 Views
    cipher-1024C

    All I can do is confirm this is the behavior I see on my machine. I tried removing the header information and re-adding it but nothing seems to make the Italic setting stick.

    On a separate note, I’m curious why the European company got your code in pdf. The only reason I can think of that the line spacing/header info would make a hoot of difference would be if you’re trying to compare the old code with the new code side-by-side. Can’t you just take your copy (not pdf) of the old code and the current version and stick them in WinMerge and send them a diff file? You cold even make the diff file a pdf if that’s some sort of company requirement for sending them code. I hate to side track a topic, but I just had to ask.

  • KOS in KSP word wraping???

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Robert McQuillenR

    Thanks Ill try that.

  • Elevated privileges when saving, doesn't work if different user

    Locked
    1
    0 Votes
    1 Posts
    691 Views
    No one has replied
  • Recent files menu item completely disappears after several runs

    Locked
    1
    0 Votes
    1 Posts
    525 Views
    No one has replied
  • Line spacing issue - File compare problem

    Locked
    6
    0 Votes
    6 Posts
    2k Views
    Wayne CampbellW

    Ok all. Discovered that the Adobe Pro print driver was defaulting to A4 instead of letter, like it does here in the us. so… That’s fixed…

  • NP++ Standard control characters

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    David BaileyD

    Well, you would have to start again, but I think by far the best thing to do is to switch to using UTF-8. This encodes the full set of UNICODE characters and is supported by NP++.

    I am assuming that when you say ‘made a font’ you haven’t actually created a font with your own glyphs, but simply want to write files using some UNICODE characters.

    David

  • Notepad++ just won't work for me?

    Locked
    2
    0 Votes
    2 Posts
    981 Views
    David BaileyD

    I would guess you have just typed that into Notepad++ with no file attached. If you save the file in a file called test.html, then suddenly Notepad++ will ‘realise’ the file is HTML and colour it accordingly. Remember that Notepad++ can be used on many different types of files, and they all need highlighting differently.

    David

  • BUG: Hang when network-based documents open

    Locked
    2
    0 Votes
    2 Posts
    901 Views
    gstaviG

    This was discussed many times. 2 examples are here and there.

    Background, asynchronous and non-blocking are not simple for a legacy single threaded GUI application that was not designed for them.
    Just turn the detection off.

  • Plugin to import PHP builtin fucntions and displayed in FunctionList

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Mpho DondoloM

    Thank you so much. Your response was quite helpful