• MicroPython

    4
    0 Votes
    4 Posts
    590 Views
    Roger MoseleyR

    thanks. I didn’t see that small box with the tab selection.

  • The 8.1.4 update deleted my FTP profiles ::(

    2
    0 Votes
    2 Posts
    663 Views
    PeterJonesP

    @Steven-Downey ,

    Sorry, didn’t happen for me.

    I had already updated my PC at work, where I use portable, and nothing happened to my NppFTP configuration settings (including profiles) – and I’ve been using that since the day that v8.1.4 was officially released.

    At home, I still had 8.1.3, so I just checked for updates and did the automatic 8.1.4 upgrade: after upgrading, I still had my NppFTP profiles with no difficulty.

    The NppFTP profiles are stored in %AppData%\Notepad++\Plugins\Config\NppFTP\NppFTP.xml … and the Notepad++ installer shouldn’t generally overwrite anything in the plugins config folder for a normal installation. (The plugin list for Plugins Admin, nppPluginList.dll, will go in <appfolder>\Plugins\Config … so for a normal installation, that’s separate; but for a portable edition, that’s the same Plugins\Config folder that the plugins actually use for their config files.)

    Before updating Notepad++, it’s a good idea to make a copy of %AppData%\Notepad++ : you can open Windows Explorer, type %AppData% 🛈 in the Explorer’s location bar, then copy Notepad++ and paste it (which will default to Notepad++ - Copy as the name). That way, if some important config file – for either the app or a specific plugin – gets overwritten or deleted accidentally, you can still see what was there before and get it back. (I did that before updating my NPP at home, but it wasn’t necessary, because nothing got overwritten for me.)

  • How not to generate a copy when you open the same file

    4
    0 Votes
    4 Posts
    376 Views
    Shenmue-is-lifeS

    I ended to identify how it occurs.

    The issue occurs when Notepad is completely minimized to the system tray and there’s no Notepad window minimized in the Windows bar.

    So the workaround is simple:

    Go to settings > preferences > miscellaneous > disable “Minimize to the system tray”.

  • Style break - bug or normal?

    3
    0 Votes
    3 Posts
    399 Views
    Caminho PerfeiçãoC

    Thank you very much for the clarification. And forgive me for any inconvenience.
    I will send the question to Scintilla Feature Request.

    Thank you very much!

  • highlighting selected type

    2
    0 Votes
    2 Posts
    161 Views
    PeterJonesP

    @Promytius-Syl ,

    Use the style configurator to change the color of selected-text background to something that provides enough contrast for your eyes and monitor.

  • remove n lines before and after a specific text

    3
    0 Votes
    3 Posts
    2k Views
    Rockberto ManentiR

    @Alan-Kilborn said in remove n lines before and after a specific text:

    ${1}

    seems that it works!!! many thanks!
    now I try on multiple files

  • Replace text that only contain specific characters

    3
    0 Votes
    3 Posts
    252 Views
    Sheraz AhmedS

    @Alan-Kilborn Excellent bro , it worked zabardast

  • 4 Votes
    2 Posts
    963 Views
    Michael VincentM

    @Bruno-Guillemette said in XML file / Language set to None (Normal Text) / XML Tools option Set XML type automatically:

    When working with big XML files, I set the Language to None (Normal Text) to speed things up. But as soon as I was typing anything, even just [ENTER], the XML highlight was back, slowing down Notepad++ quite a bit.
    I finally realized that the culprit was the Set XML type automatically option of the XML Tools plugin. This option is selected by default I think, so I didn’t really noticed it before this.

    Good tip on the set XML to Normal Text for large file if you don’t need highlighting / function list but do need performance and I do have XML Tools installed, but not that option checked - so I wouldn’t have noticed it, but experimenting with it, I do see your behavior.

    I’m going to leave XML Tools Set XML type automatically unchecked so Notepad++ can autodetect and I can “reset” to Normal Text without worrying about it switching auto-magically for me.

    Cheers.

  • SQL Operator highlighting issue

    3
    1 Votes
    3 Posts
    215 Views
    TroshinDVT

    Screenshot_290.png

  • npp becomes slow for large text files, suggest alternative editors

    9
    0 Votes
    9 Posts
    3k Views
    artie-finkelsteinA

    In case this dead horse deceased parrot is ever viewed again:

    I found a third way to speed up the loading of large source code files by manipulating the “langs.xml” file:

    Hide or rename the “langs.xml” file. Notepad++ will complain if it can’t locate “langs.xml”, but will continue to work after the warning dialog box is dismissed.

    Create an absolute bare-bones version “langs.xml” with all source code sections removed. Full contents of <?xml version="1.0" encoding="UTF-8" ?> works nicely. The file cannot be a zero-length file, it must have some minimal contents.

    Just the specific language section can be removed or commented out (surrounded with <!-- & --> tokens):

    <!--- <Language name="json" ext="json" commentLine="" commentStart="" commentEnd=""> <Keywords name="instre1">false null true</Keywords> <Keywords name="instre2">@id @context @type @value @language @container @list @set @reverse @index @base @vocab @graph</Keywords> </Language> -->

    As with the file renaming and hardlink creation approaches, there is no syntactic and keyword highlighting or FunctionList available, but otherwise all other features are available.

    Neither hiding other folders [userDefineLangs, autoCompletion, functionList] nor hiding other files [functionList.xml, stylers.xml] showed any significant speedup in the file load time. There may be an unique combination of XML file changes that does speed up load time.

    NOTE: While variations 1 & 2 will disable formatting for ALL source code files edited, variation 3 only affects the language name commented out.

    If large source code files must be edited frequently and both the file rename and hardlink approaches are not practical to use:

    Unzip a separate portable version of Npp into Npp4FTB2EE (Npp for files too big to easily edit) <grin> Replace the default “langs.xml” file with a version based on variation 2 or 3 above The folders [userDefineLangs, autoCompletion, functionList] and file functionList.xml can be deleted

    These variations have been tested and work properly in both Npp v8.1.4rc & v7.9.5 and should also work in earlier versions but YMMV.

  • Folder as Workspace in Dark mode has the problem when open File Explorer.

    5
    1 Votes
    5 Posts
    520 Views
    Partch JatP

    OK, got it.
    Hope this problem will be fixed in the next version soon!
    Thanks!

  • Scandal! Chameleon desktop icon has disappeared

    3
    0 Votes
    3 Posts
    468 Views
    PeterJonesP

    @BLUE-AGENCY ,

    Actually, v8.1.4’s icons do have the chameleon, except for the smallest 16x16 and 32x32 pixel icons. You can see this by changing Windows Explorer from Details or Small Icons to any of Medium Icons, Large Icons, or Extra Large Icons. – All of the bigger icons still have the chameleon as the executable icon, and AFAIK, Notepad++ usually assigns that icon to file types associated with Notepad++.

    I had to go back to v5.0 from 2008 before the executable defaulted to a non-chameleon-based icon.

    (my video is focused on the executable; I hadn’t changed the file type associations for XML, so it’s still using the v8.1.3/v8.1.4-style icon for those files; just look at the executable’s icon for the point I was trying to make)

    And further, Windows allows you to change the icon for any file type to anything – whether it’s in the executable or a standalone icon or from some other DLL or executable. If you’ve got an icon you prefer, you can search the internet for “change icon for file type” and find a gazillion references for how to do that in your particular OS.

  • Updates always want to change destination path

    2
  • re-numbering phrase+number in the middle of sentence

    10
    0 Votes
    10 Posts
    809 Views
    B MRB

    finally got it!
    the problem was unnecessary space
    thank u all !!

  • Cannot add style token to selected text anymore

    4
    0 Votes
    4 Posts
    400 Views
    christian faisstnauerC

    Thank you! That solved the problem.
    Thanks also for the links, very useful!

  • New bug with "Execute this script when Notepad++ starts"?

    14
    0 Votes
    14 Posts
    794 Views
    Alan KilbornA

    BTW, the script may not work for the file active when N++ starts up. A workaround would be to add this line at the end of the __init__ function:

    self.bufferactivated_notify(None)

  • Keep RTL/LTR per tab

    4
    0 Votes
    4 Posts
    543 Views
    Moatassem TalaatM

    @Terry-R I didn’t say that in multiple instances of N++

    What I meant that changing RTL/LTR on one tab affects all tabs of the same instance … who would open N++ in multiple instances?!

    Changing text direction should not be global dynamic setting but rather significant on the tab it was altered on.

    BR,
    MT

  • Product Enhancement Request for navigating files

    2
    0 Votes
    2 Posts
    155 Views
    PeterJonesP

    @Glenn-Gnabasik ,

    Interesting idea.

    We fellow Community members cannot do anything about that, as we are mostly just users like you, and this Community exists for fellow Notepad++ users to help each other. We have a FAQ explaining how to make a feature request.

  • suggestions

    2
    0 Votes
    2 Posts
    205 Views
    Alan KilbornA

    @jim-murray-0 said in suggestions:

    please leve the cursor positioning up to me. If i select text then please deselect it when i leave it and click in a new spot.

    Isn’t this the default behavior?

  • I'm missing something in UDL

    6
    0 Votes
    6 Posts
    360 Views
    PeterJonesP

    @Pavel-Viktora ,

    You’re not stupid just because you made that assumption.

    This Forum was created by the developers, and is hosted by the developers, for the Community to use to help each other use Notepad++ and to talk about and advocate for the application.

    We just don’t have the power/authority in the forum to agree to make changes to the source code, and the forum is not the location for feature requests and bug reports. As a result, we have a FAQ entry which explains the correct procedure for making feature requests and bug reports, which can be found in the FAQ section under the name FAQ Desk: Feature Request or Bug Report