• File is too big to be opened by Notepad++ Issue

    4
    0 Votes
    4 Posts
    4k Views
    minsikauM

    try editpad lite and see how loads in there.

  • NPP doesn't appear in w8 default programs list

    Locked
    1
    0 Votes
    1 Posts
    898 Views
    No one has replied
  • Split Screen View?

    Locked
    2
    1 Votes
    2 Posts
    22k Views
    Scott SumnerS

    @Kirt-Scott

    Okay, so it doesn’t result in a simple splitter like you are probably used to, but you could use the “clone document” feature to do what you are talking about. There are so many different ways to invoke this feature that I’m not going to talk about all of them. Probably the easiest way is to right-click on the file’s tab, and choose Clone to Other View. From a default setup this will get you two views of the same file, one on the left side of your Notepad++ window, and one on the right. But you wanted above/below, so now right-click on the relatively fat bar (with the stippling on it) between the two sides and a popup with two choices appears. The choices are Rotate to left and Rotate to rIght. Choosing the “right” one will put the cloned file in the secondary view below the file(s) in the primary view. Probably what will annoy most people trying this is that the view now on the bottom will have the tab with the name of the file on it getting in the way between the upper and lower views.

    If this (or ANY posting on the Notepad++ Community site) is useful, don’t reply with a “thanks”, simply up-vote ( click the ^ in the ^ 0 v area on the right ).

  • Toggle Single Line Comment suggested change

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

    Hi Ray,
    You should see all the comment choices if you go up to the window menu->edit->Comment/Uncomment. If you want to add the options to a mouse-centric world, go up to Settings->Edit Popup ContextMenu and add an item like this:
    <Item MenuEntryName=“Edit” MenuItemName=“Single Line Uncomment”/>

    I agree that sometimes it would be nice if the comment marks were all the way to the left, but there are other times where that would interfere with seeing the structure of the code, so for me it’s 50/50.

    Good Luck

  • Macro editing and lock Find to a specific document

    4
    0 Votes
    4 Posts
    4k Views
    moon6969M

    A quick & dirty workaround for point 2 might be to set a hot key to launch Find in Files instead of normal Find, then put the required “locked” filename into Filters box and it’s folder into Folder box.
    Then each time you press the hotkey it will remember the last filter/folder… just enter your search term and click “Find All”. You will however have to click on the desired line in the “Find Results” window to switch to the “locked” file, but there after you can F3 or Ctrl-F as usual. (I actually use Find in Files as much as Find).

    An alternative for point 1. might be to write your more complex macros in LuaScript or Python Script (both available in Plugin manager).
    I don’t believe these have recording ability, but they do offer very powerful ways to automate almost anything in npp far above what you can do with the built in macros.
    There are other scripting plugins as well such as C# but I have not used these.

    Point 2 is actually an ideal example of something that could be implemented quickly in Python Script:
    One script to choose which file to “lock for finding” (or just type this in the Python console)…
    globals()[“mnFixedFindFilename”] = notepad.getCurrentFilename()

    and the main script (bound to a hotkey of your choice):
    notepad.activateFile(mnFixedFindFilename)
    notepad.runMenuCommand(“Search”, “Find…”)

    Trivial to modify above to hardcode the filename or even support multiple hotkeys pointing to different files!

  • Filetype for Forth .fth

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    MAPJe71M

    Next release will have support for Forth, though only with .forth extension.

  • Suggestion: per file follow/autoupdate feature

    3
    0 Votes
    3 Posts
    2k Views
    moon6969M

    @Martin:
    A workaround I sometimes use that may help is to access the the “often changing files” over the network… npp only sees changes to files made locally!

    @David:
    I think the issue is that the “The file has been modified by another program” dialog pops up even if the modified file in question is not the active npp document - this certainly bugs the hell out of me :)

    Typical scenario for me is having a log file and source file (that I am editing) open in npp…

    I save my changes to the source in npp (so the source is my current active npp doc) Switch (Alt-tab) to another app to test the changes Switch back to npp… and BAM modal dialog “The file has been modified” and the log file is now the active doc - so I have to click OK and Ctrl-Tab back to source (which should have remained the active document).

    I only want to be notified that the log file has been “modified by another program” when the log file is the active npp document (or next time I switch to the log file in npp).

    I don’t use “Update silently” since it means the “Find results” links to lines in the silently updated files can get de-synced and point to the wrong place without any clue that the file is updated.

    “Update silently” also does not really help in cases where I have edited the log file in npp (so the dialog again steals focus).

    My suggestion:
    I’m not sure a “per file follow” setting would be useful to me (and in fact care would be needed to manage which docs you were following and which not).

    I think a 3rd “File Status Auto-Detection” preference would help:
    ☒ Enable
    Notify only when document is active
    ☒ Silent (notify only if document has been edited in npp)

    Other related enhancements could be a visual indication that the file has been silently updated (perhaps ^ instead of the * you get for docs with unsaved changes). Similarly a per-line indication in the “Find results” windows for lines in the silently updated file.

  • Light color new line indicator

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    Nick BrownN

    Claudia is correct, there is currently no way to change the foreground/background colour of the EOL symbols, this is a Scintilla feature and not a limitation of Notepad++, there is a feature request for Scintilla to enable this see https://sourceforge.net/p/scintilla/feature-requests/1129/

  • help for my memories

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Delete line

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    cisco779kC

    Yes! Thank you very much!
    Regards. RP

  • Lost feature? Keep unsaved files when closing

    Locked
    3
    2 Votes
    3 Posts
    23k Views
    end-userE

    Aha! Did this get turned off during an upgrade or something? I know I didn’t do it manually…

  • Ability to set session snapshot and period backup directory in NotePad++

    Locked
    4
    1 Votes
    4 Posts
    4k Views
    SundayFundayS

    Thank you! Option 2 is what I was looking for!

  • Want to fetch the file name

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Atmiya-Kolsawala

    use menu File->Save Session function and you have a file which contains the current opened documents.

    Cheers
    Claudia

  • 2 Votes
    4 Posts
    4k Views
    Greg Chamblin JrG

    I too would like to see a UWP app for use on both desktop and mobile. All with great integration with OneDrive. I have been hoping for this since WP7 being able to update code on the fly would be fantastic.

  • Custom Plugins

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Michael-Mingrone

    make sure you defined the bool isUnicode() function, see
    http://docs.notepad-plus-plus.org/index.php/Plugin_Development

    Cheers
    Claudia

  • File text all replaced with NULL

    3
    0 Votes
    3 Posts
    5k Views
    Justin HessJ

    Thanks for the response, I checked the right click/restore previous versions options which is what I think you’re referring too? But it says at the top ‘previous versions from file history or restore points’ and then below that ‘there are no previous versions available’
    I’ll have to google how to configure that for foture protection, but either way it was one of the few files I for some reason just had on my desktop directly vs in dropbox which is a mistake I won’t make again…I’ll at least put it in drop and make a shortcut to my desktop…

    I just checked my dropbox backup folder and it only has two text files in there, one from few days ago and one I was just editing a few minutes ago…not sure why the file, or any other text file, since it is set to periodically backup every 7 seconds by the way it looks…is in there. But I changed the backup settings to back up to another backup folder in dropbox upon save, which may be redundant.

    @Claudia-Frank said:

    @Justin-Hess

    could be, depends how your windows/notepad++ has been configured.
    Windows supports copies by using vss (??) service - means if you can right click
    on the file there should be a tab which provides access to a previous version.
    If you don’t see that tab, you don’t have configured it.

    Notepad++ has also some kind of functionality - backups.
    If this has been set you could check the backup directory and see if your file has been
    backed up.

    Cheers
    Claudia

  • Old information in wiki, please update she.

    Locked
    1
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • Character count bug

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Eduardo-Pinheiro-Guerra

    you are correct, and it looks like more chars are affected - every char within 0x80 and 0xBF.
    But if you use “convert to utf-8”, than it is correctly counted.
    The issue seems to be in ScintillaEditView.h

    long getUnicodeSelectedLength() const { // return -1 if it's multi-selection or rectangle selection if ((execute(SCI_GETSELECTIONS) > 1) || execute(SCI_SELECTIONISRECTANGLE)) return -1; auto size_selected = execute(SCI_GETSELTEXT); char *selected = new char[size_selected + 1]; execute(SCI_GETSELTEXT, 0, reinterpret_cast<LPARAM>(selected)); char *c = selected; long length = 0; while(*c != '\0') { if( (*c & 0xC0) != 0x80) ++length; ++c; } delete [] selected; return length; }

    but I’m unsure why this is done.

    Cheers
    Claudia

  • notepad++ destroy my files

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Guanglong-Jiang

    please don’t be cross with me but I can’t understand how someone could work like this.
    If this is important data, it is a must have to set something up which guarantees more or less
    that the data is save. Save your data. Use backup software and/or activate windows “versioning”
    of files. Enable npps verbose backup functionality etc etc etc
    It is your data, your work, your time and your responsibility - think about it - a crash can happen
    always and everywhere and it might be not notepad++s fault.

    From the outside, it is really hard to find out what the issue is/was.
    So my advise, amongst the ones I already wrote, is to check if a crash dump file has been created.
    If it hasn’t, check if your system has been configured to create dumps. If dumps are available,
    use windbg to analyze it.

    Sorry for not being more helpful.

    Cheers
    Claudia

  • Feature Request: Timestamped last change and undo?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Николай СергеевичН

    No, I didn’t mean that, Claudia. Not after the save on disk, I could always look at the file attributes for that.

    Editing code in an open tab during days sometimes you need to see the point of change what you have done yesterday. In the case I just clicks UNDO until reaches the version I need. Then I can copy some part which were updated later or copy whole text to compare with current version (after reaching it again with REDO). So while clicking UNDO or REDO I want to see a time mark of this very change.

    I understand now what it looks like almost a wiki-like version management system. :) But it doesn’t need to save intermediate changes at disk actually. There’s pretty sure could be timestamp property in state change objects of the UNDO/REDO stack. I just want those timestamps reveal in the interface. (It’s my guess, I didn’t see NPP code, don’t know how it actually organized.)

    Hope now I made it more clear. :^)