• How to delete ANSI characters such as Ââ in multiple UTF-8 files?

    4
    0 Votes
    4 Posts
    645 Views
    Alan KilbornA

    @Neculai-I-Fantanaru

    Another solution I find on internet, it to use uni2ascii

    Off-topic. Please refrain from posting off-topic information here.

  • need help removing suffix of this combo

    4
    0 Votes
    4 Posts
    783 Views
    Alan KilbornA

    @guy038 said in need help removing suffix of this combo:

    Leave EMPTY

    I prefer my solution, because:

    it is simpler for an obvious newbie like the OP it has a definite replacement field, not “Leave EMPTY”:

    We haven’t heard of it happening yet, but I wonder if anyone’s first try at implementing a solution ever went this way:

    could you help me deleting the suffix of this line jfaiduefoue:Leave EMPTY i want to remove what’s after the “:Leave EMPTY any help is apprecited``` :-)
  • creare file .txt da indicazioni

    2
    -1 Votes
    2 Posts
    197 Views
    Alan KilbornA

    @massimo-la-terra

    Nope, not unless you explain more about how this relates to Notepad++, and if you can convince us of that, a bit more detail about what you need to do and what you want to obtain.

  • Display Magnification

    5
    0 Votes
    5 Posts
    6k Views
    PeterJonesP

    @Bernard ,

    Please see this older discussion, which links to issue#4566 – the developer does not believe there is room for a permanent zoom indicator on the status bar, so has rejected that request. There is no reason to believe he will have changed his mind.

    That said, the older discussion I linked has links to PythonScript implementations that may be of use to you. If you’ve never used PythonScript, this FAQ explains how to take one of those example scripts and implement it on your computer.

  • Opening Notepad++ in Post-It mode

    4
    0 Votes
    4 Posts
    909 Views
    Matej VitekM

    @Michael-Vincent Thanks, I’ve managed to make this work with my use case. In case anyone’s interested, this is roughly what I’m doing (AHK code):

    fileOpen := false ^+b:: if not fileOpen { fileOpen := true FileCopy, Backup\Notepad++\config (PostIt).xml, %A_AppData%\Notepad++\config.xml, 1 FileCopy, Backup\Notepad++\NppExec (PostIt).ini, %A_AppData%\Notepad++\plugins\config\NppExec.ini, 1 Run, "C:\Program Files\Notepad++\notepad++.exe" "C:\Path\To\PostIt\File.txt" } else { fileOpen := false FileCopy, Backup\Notepad++\config.xml, %A_AppData%\Notepad++\config.xml, 1 FileDelete, %A_AppData%\Notepad++\plugins\config\NppExec.ini } return

    The config (PostIt).xml is the file with my PostIt NP++ configuration (i.e., no title bars, line numbers, etc.) and config.xml is my usual NP++ configuration. The NppExec (PostIt).ini file is the configuration file for the NppExec plugin, which launches a script on startup that contains the following:

    NPP_CONSOLE 0 NPP_MENUCOMMAND "View\Post-It"

    This now seems to work as I want it. Thank you both for the help.

  • Help allowing users to install plugins

    9
    1 Votes
    9 Posts
    4k Views
    Snabel42S

    @mpheath said in Help allowing users to install plugins:

    That should grant members of the users group Full permissions on the /Link folder.

    That does indeed sound interesting. I’m not sure if I’ll be able to test it, but I’ll report back here if/when I do

  • Find in Files then copy file names to text file

    2
    0 Votes
    2 Posts
    890 Views
    guy038G

    Hello, @calvin-orley and All,

    Very easy, indeed !

    Open the Find dialog ( Ctrl + F ) or the Find in Files dialog ( Ctrl + Shift + F )

    Type in your keyword in the Find what: field

    Choose the appropriate box options

    Select your search mode ( Normal, Extended or Regular expression )

    Click, either, on one of these buttons :

    Find All in Current Document of the Find dialog

    Find All in All Opened Documents of the Find dialog

    Find All of the Find in Files dialog

    After a while, a new window Search Results should appear, which shows all the occurrences found

    Inside this window, right-click and choose the Copy Pathname(s) option

    Open a new tab ( Ctrl + N )

    Paste the clipboard contents ( Ctrl + V )

    Et voilà !

    Best Regards,

    guy038

  • Need help with a text file

    3
    0 Votes
    3 Posts
    223 Views
  • Folding AHK not responding correctly

    2
    0 Votes
    2 Posts
    227 Views
    EkopalypseE

    @Jordan-Adania

    Folding is the weak part of UDL.
    Sometimes it helps if you add an extra space after {.
    If this does not help, are you willing to share your current UDL and an example AHK script where this happens?

  • One long line into multiple lines

    4
    0 Votes
    4 Posts
    14k Views
    AleksandarA

    @Terry-R said in One long line into multiple lines:

    \r\n

    Thank you so much, u saved my life <3

  • how to disable the balloon tip in notepad++ in view->Document list?

    5
    0 Votes
    5 Posts
    726 Views
    Alan KilbornA

    @Nasser-M-Abbasi said in how to disable the balloon tip in notepad++ in view->Document list?:

    This ballon tip bothers me so much as it makes it hard to see files inside notepad.

    How so?
    For me, the hover tip opens about 2 full “lines” below the entry it relates to, definitely away from where the action is, example:

    1fe46f8b-d048-4be7-91fa-d533e74f1f72-image.png

    So, ok, new 6 is obscured in my example.
    If such a thing bothers you, get your mouse out of the Document List window.
    Why is your mouse even there, unless you intend to switch tabs – in that case, get in, do it, hover tip shouldn’t have an impact.
    The only other real reason to have the mouse in this window is to actually see the info from the hover tip.

    I will move to Linux because of this

    Seems extreme to me, but good luck!

  • Column Index of Pipelined Lines

    6
    0 Votes
    6 Posts
    1k Views
    Alan KilbornA

    @Deniz-Kasar said in Column Index of Pipelined Lines:

    How can i set your script to run on startup?

    see the instructions in the script code starting with to run via another file… and also references to startup script HERE
  • Customizing for COBOL

    18
    0 Votes
    18 Posts
    6k Views
    Emmad KareemE

    @Michael-Vincent, Many thanks for your help.

  • Notepad++ lost track of open files / why?

    23
    0 Votes
    23 Posts
    5k Views
    xomxX

    @pnedev

    There is also report mentioning a possible coincidence with a pending N++ auto-update.

    User has periodic backups enabled too.

  • Crash with Csv Query

    3
    0 Votes
    3 Posts
    491 Views
    Matteo RossiM

    @Michael-Vincent now whork! Thank u Michael!

  • Can I see the modified datetime of opened documents?

    4
    0 Votes
    4 Posts
    2k Views
    Alan KilbornA

    @Nick-Minchin

    Hopefully you took to heart some discussion about unnamed/unsaved documents and potential data loss. IMO an unnamed file should be saved into the file system with a real name very soon after creation.

    comparing unsaved changes to the original document

    The new ComparePlus plugin may be of interest to you for such a task.

  • Find multiple strings in a directory

    8
    0 Votes
    8 Posts
    2k Views
    Francisco SimarroF

    @PeterJones

    Thanks for your clarification. Sorry for to present the question in this forum.

  • How to replace a specific term adding/replacing a incremented number?

    6
    0 Votes
    6 Posts
    361 Views
    WatashiW

    It worked, thanks a lot

  • Background colors since 8.4.5 upgrade of Notepad++

    2
    0 Votes
    2 Posts
    624 Views
    PeterJonesP

    @Kevin-Cook ,

    When you have Dark Mode enabled, could you show us a screenshot of Settings > Preferences

    For example, for me, Dark Mode looks exactly like I’d expect:
    4d17cd39-a44e-4b27-8606-927fcfb23e9a-image.png

    Also, share your Settings > Style Configurator dialog screenshot, maybe with Global Styles > Default Style selected, like:
    9f6507f5-1d9f-4d9d-a086-8dc581eef9dd-image.png

    You also said,

    playing with Settings -> Style Configurator … Disabling Global styles

    “Global styles > Global override” with the overrides checkmarked is almost never what you want. A well-designed theme will properly inherit from “Global Styles > Default Style”, and should be reasonable for most users. (I know you said you have vision issues, and there are rare circumstances when vision issues will require checkmarking some of those overrides… but that should be a last resort.)
    bd4924a2-ffa1-4123-8951-4ff38ccdc43c-image.png
    Using those overrides will mean there is no syntax highlighting… or, even worse, if you do it wrong, will mean that there is partial syntax highlighting, which might make things worse than if you’d just left the overrides off.

  • Exit Python loop when replacement count is 0

    7
    1 Votes
    7 Posts
    459 Views
    M Andre Z EckenrodeM

    @Alan-Kilborn said in Exit Python loop when replacement count is 0:

    A modification to that one could be to limit the matches that research() will look for to 1, e.g.:

    Noted, and I like it. Thanks again.