• Support of unix-like paths and file names in File|Open-Dialog possible?

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Alan KilbornA

    @PeterJones said:

    earlier post

    How come we can’t have both the new style dialog AND unix style path support at the same time??

  • How to tile tabbed pages?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Benevolent DeityB

    Thanks for the info. It sounds like a worthwhile enhancement to an otherwise great product.

  • How do I tell Notepad++ to use spaces to auto-indent instead of tabs?

    Locked
    5
    0 Votes
    5 Posts
    25k Views
    Meta ChuhM

    @Kevin-Morris

    you’re welcome ;-)

  • 0 Votes
    11 Posts
    25k Views
    Naveen UgraiahN

    @Leigh-Wardle Awesome!! you were right… I was scratching my head all the while. Thanks!!

  • Any settings that would slow typing to > 1chr/sec?

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Claudia FrankC

    @Jonathan-Dzoba

    another known issue is to have a really big one-liner and try to edit it.
    Scintilla, underlying component Npp uses, isn’t really performant in such cases
    as it wasn’t designed to do so.

    Cheers
    Claudia

  • Automation Friendly Latest Version Download URL

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    issue exists as https://github.com/notepad-plus-plus/notepad-plus-plus/issues/604 … might want to upvote it or add comments.

    as that issue points out, you can grab https://notepad-plus-plus.org/update/getDownloadUrl.php, which gives an XML file with the current download URL, so you could parse that XML to get the actual download URL.

  • timestamp highlighting

    Locked
    2
    1 Votes
    2 Posts
    739 Views
    Scott SumnerS

    @SkodaRunner said:

    is there any possibility to highlight timestamps

    Yes, show us a sample…timestamps can have many forms.

  • how to transliterate languages?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    SalviaSageS

    Hi. This is possible. You must use either the programming language AutoIT or AutoHotkey to do this.

    Check out this link where someone made a cyrillic-latin transliterator.

    https://autohotkey.com/board/topic/55957-cyrillic-to-latin-and-vice-versa-transliterator/

    also, check out my earlier post
    https://www.autoitscript.com/forum/topic/150021-how-do-i-automatically-change-letters-to-other-letters-in-a-text-editor/

    You may be able to adapt something from there.

  • Type Ahead with index search would be awesome ...

    2
    0 Votes
    2 Posts
    829 Views
    Scott SumnerS

    @Java-Dev

    You forgot to offer up the $100 this time around.

  • can't save modifications to an existing file

    Locked
    2
    0 Votes
    2 Posts
    731 Views
    James DurbinJ

    cancel this request for help. figured it out.

  • Pasting Data from Excel in 4th Collapse Level

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

    You may have show some examples like “I have this…”, “I want it to look like this…”. I think more people would understand what you’re looking for.

  • How to sort out duplicates?

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

    If you’re working with just a list of values, you can install the CsvQuery plugin and run a SQL type query on your list. Say you have this as your list:

    filter1
    filter1
    filter1
    filter2
    filter2
    filter2
    Filter1
    filter2
    Filter3

    Open the CsvQuery window, (you may have to hit the “read file” button), type this into the command bar:

    SELECT col1, COUNT(*) FROM THIS GROUP BY COL1 ORDER BY COL1

    Click Execute
    the output window will show this:
    Filter1 1
    Filter3 1
    filter1 3
    filter2 4

    If you want case insensitive searches:

    SELECT col1, COUNT(*) FROM THIS GROUP BY COL1 COLLATE NOCASE ORDER BY col1 COLLATE NOCASE

    That will get you this:
    Filter1 4
    filter2 4
    Filter3 1

    I had to use ctrl-c to copy the output. Right click - copy didn’t work for me. Note that in a CsvQuery query “this” is the table name (your list in the active window).
    Reading a file with 100k lines and executing the search each took about a second on my test case (the sample above repeated a lot). IDK if you can make a macro out of this, but it’s another option besides regex and python.

    May the Sort be with you.

  • 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