• Call-tips - Questions, possible bug

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

    I think what you’re looking for is in Preferences->Auto-Completion in the box titled Auto-Completion. On the right side of the box there’s a line that says “From X th character. Valid value: 1-9”

    The “x” is a clickable number. If you click on the number you can change it to 9, but that’s as high as it can be set. There are other options in this window that may ease some of your auto-complete pain.

    Sorry, I can’t help you with the function completion or tooltip color issues.

  • One annoying bug with ANSI encoding

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Vladimir OlegovichV

    Binary file was bad example (how file looks when bug occurs), but sometimes it happens to my txt files, even on selecting part of text with mouse. I’ll try with turned off “Enable session snapshot”, except bug is unpredictable, sometime after updates or changing settings to ANSI as default encoding I thought it fixed. And then it happens again when I made lot of changes and forgot to save before error.

  • Need help on Macro that prompts for number of rows to select

    13
    1 Votes
    13 Posts
    3k Views
    John MurrayJ

    You were right - that took care of it - and everything works perfectly now. Thanks a bunch Scott for hanging in there with me.

  • -1 Votes
    1 Posts
    2k Views
    No one has replied
  • Improve "Save all"

    Locked
    2
    2 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @mpotra

    Not a bad suggestion I suppose…you may want to follow the advice here.

    You can have this functionality TODAY if you are willing to “script it”. The scripting plugins for Notepad++ are excellent. I tend to use Pythonscript; here’s some code for that which will implement a confirmation for Save All.

    Here’s SaveAllWithAreYouSurePrompt.py :

    def SAWAYSP__main(): if notepad.messageBox( 'Do you want to do a SAVE on all unsaved files?', # box body text 'Are you sure??', # box titlebar text MESSAGEBOXFLAGS.YESNO ) != MESSAGEBOXFLAGS.RESULTYES: return notepad.menuCommand(MENUCOMMAND.FILE_SAVEALL) SAWAYSP__main()

    You can remap the default Save All keyboard shortcut to run the script instead.

  • How to Share a Recorded Marco with others?

    7
    1 Votes
    7 Posts
    20k Views
    PeterJonesP

    Yes, of course. Sorry.

  • Accessibility of Notepad++

    13
    0 Votes
    13 Posts
    4k Views
    PeterJonesP

    The nightshaddow13 from the Jul 10 instance seems to have a situation that he can get it to repeat (I couldn’t replicate his results, but I haven’t switched to his exact setup)… but if he really can, and was willing to help, I wonder if someone could get him a debug build with dumping debug info to a log file: dump of all the settings (in case it’s snapshot on/off, remember session on/off, etc), as well as recording various internal function calls – if developers had a trace of the last few functions (or the last function that had enough time to flush the logfile to disk) that ran before the crash event, it might go a long way toward finding (and solving) the problem.

    I don’t have a build environment that would work for NPP, otherwise I’d try to find one of those rare Round Tuits™ to do the debug build myself.

    I’ll post here and (now that I think about it) in that thread, to see if there’s anyone who does have the right environment…

  • How to ascend numbers?

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    guy038G

    Hello, @ואב פתאל, @terry-r and All,

    As @terry-r said, regular expressions are not the best way when calculus is involved in the process. However, if the particular case, of all decimal numbers, beginning with the $ sign and ending with the string .99, is your case, a possible regex could be :

    SEARCH (\$.*?)((0)|(1)|(2)|(3)|(4)|(5)|(6)|(7)|(8))?(?=9*\.99)|(9)

    REPLACE (?{12}0:\1(?2:1)(?{3}1)(?{4}2)(?{5}3)(?{6}4)(?{7}5)(?{8}6)(?{9}7)(?{10}8)(?{11}9))

    Of course, the Regular expression search mode must be selected and, possibly, the Wrap around option

    So, assuming the sample text, below :

    Item $0.99 Item $1.99 Item $2.99 Item $3.99 Item $4.99 Item $5.99 Item $6.99 Item $7.99 Item $8.99 Item $9.99 Item $10.99 Item $11.99 Item $12.99 Item $13.99 Item $14.99 Item $15.99 Item $16.99 Item $17.99 Item $18.99 Item $19.99 Item $20.99 ... Item $39.99 ... Item $98.99 Item $99.99 ... Item $9999.99

    it would give, after global replacement :

    Item $1.00 Item $2.00 Item $3.00 Item $4.00 Item $5.00 Item $6.00 Item $7.00 Item $8.00 Item $9.00 Item $10.00 Item $11.00 Item $12.00 Item $13.00 Item $14.00 Item $15.00 Item $16.00 Item $17.00 Item $18.00 Item $19.00 Item $20.00 Item $21.00 ... Item $40.00 ... Item $99.00 Item $100.00 ... Item $10000.00

    Voilà !

    Best Regards,

    guy038

  • Save default installation settings for next install?

    Locked
    2
    0 Votes
    2 Posts
    901 Views
    Claudia FrankC

    @colonellocke

    I assume you get a better chance having this done by following this FAQ.

    Cheers
    Claudia

  • Is documentation available?

    3
  • Possible to Shell?

    3
    0 Votes
    3 Posts
    969 Views
    PeterJonesP

    And, FYI, some of those other “many ways” are mentioned in this other thread

  • Plugin, window selection

    Locked
    10
    0 Votes
    10 Posts
    3k Views
    Scott SumnerS

    @dail , @AZJIO-AZJIO

    I’m with @dail, I can’t make much of it either…I guess the language barrier is too wide.

  • Document List Panel ('Doc Switcher') Improvements

    Locked
    14
    1 Votes
    14 Posts
    7k Views
    AngryGamerA

    The reload is automatic in v7.5.6 or newer.

  • automaticly changing hex00 into hex20 - why?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    guy038G

    Hi, @klauss-lehmann and All,

    Additional information to the excellent method of @meta-chuh :

    Firstly, contrary to any other character, you cannot insert NUL characters, either, with any of these 3 ways :

    Alt + nnn , where n are digits, pressed on the numeric keypad ( OEM encoding )

    Alt + 0nnn , where 0 and n are digits, pressed on the numeric keypad ( ANSI encoding )

    Alt + the + ( on Numeric keypad ) + hhhh, where h are hexadecimal chars ( UNICODE encoding ) :

    The letters, from a to f, typed on the main keyboard

    The digits, from 0 to 9, typed on the numeric keypad

    So, the only way is to use the Character Panel ( Edit > Character Panel ) and, then, to double-click on the first line 0 00 NULL in order to insert a single NUL character, at cursor location

    Secondly, the present regex engine of N++, can handle the NUL characters in search, without any trouble, using the regexes :

    \0 or \x00 or \x{00} or \x{0000} or \N{NUL} or \c@ or \c

    Unfortunately, in replacement, there’s, indeed, no mean to insert a NUL character :-(( A work-around is possible, using a local installation of N++ v6.9.0 and a modified version of the Scintilla library ( SciLexer.dll ). Refer to LAST part of this FAQ post :

    https://notepad-plus-plus.org/community/topic/15765/faq-desk-where-to-find-regex-documentation/1

    Best Regards,

    guy038

  • 0 Votes
    4 Posts
    2k Views
    Vitaliy DovganV

    …and also:

    manual
  • Checkbox to select the search button type ugly

    Locked
    1
    0 Votes
    1 Posts
    712 Views
    No one has replied
  • British speller

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Martha SimonsM

    only on github?

  • Why is my NotePad in 32 bit

    Locked
    2
  • Fortran Syntax Highlighting User Defined

    Locked
    9
    0 Votes
    9 Posts
    7k Views
    pointv001P

    Thank you. Thank you! Yep that did the trick. It was a simple fix that I actually found 1/2 way into my research on this subject but overlooked it because I didn’t understand why the user posted that LexerType had to be duplicated. Now I know and it works. Now I need to figure why NppExec is not saving my scripts when I upgraded to 7.4.2:)

  • Possible EOL Conversion Persistence Bug

    11
    1 Votes
    11 Posts
    6k Views
    Bill JustesenB

    @PeterJones, I tried your suggestion and I also did it again without the symbols showing for EOL. Everything seems to be okay. I have an auto-update set for Notepad++ through Ninite but I noticed the version hasn’t changed. What did change, however, was an update to FileZilla.

    @whitegryphon, try checking out the issue now after updating FileZilla, if that is what you are using. Mine appears to have been fixed with the latest version…