• Function List Bug

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @babzog

    Shows for ME…which probably just means we need more details from YOU. :)

    Imgur

  • Compare plugin

    10
    0 Votes
    10 Posts
    29k Views
    YaronY

    https://github.com/pnedev/compare-plugin/releases

    Like @chcg I don’t have a problem downloading it.

  • Anyone else having problems loading plugins?

    6
    0 Votes
    6 Posts
    5k Views
    chcgC

    See https://github.com/bruderstein/nppPluginManager/issues/114. Could be also a problem with the available TLS version and ciphers supported by windows schannel.

  • Auto-detect Language when creating new file

    9
    0 Votes
    9 Posts
    10k Views
    Eduardo JorgeE

    would not be able to use a comment line to change the syntax?

    use it to exchange syntax in the middle of the document?

    I am trying to set up the O2 compiler “Oxygen Basic” but the syntax is very varied, assimble, syntax C, Basic, and even in Basic accepts variants like End if, Endif,
    would be good to avoid language vices

  • How to share my notepad++ plugin ?

    Locked
    3
    1 Votes
    3 Posts
    1k Views
    Skycc LimS

    Alright, thanks a lot, its already in github, let me make a post to share it here :)

  • UDL User Defined Language - keyword inside delimiter

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Sayanel LyyantS

    Yes thats it exactly
    So sad… I’ll do without it.
    Maybe it could be an improvement to do to UDL?

    Thanks

  • Plugin development help

    9
    1 Votes
    9 Posts
    3k Views
    Finn McCarthyF

    EDIT: I found a way, yippee!!

    jN Notepad++ Plugin

  • Macro: Delete lines that contains text in clipboard

    Locked
    9
    1 Votes
    9 Posts
    5k Views
    Scott SumnerS

    Well if we are opening it up to scripts, then I’ll offer up the following Pythonscript; I call it DeleteLinesWithClipboardText.py:

    def DLWCT__main(): if not editor.getSelectionEmpty(): return # keep it simple; maybe prompt user to cancel selection and re-run... if not editor.canPaste(): return # keep it simple; maybe prompt user that no text is in clipboard... orig_document_len = editor.getTextLength() editor.beginUndoAction() editor.paste() pasted_text_len = editor.getTextLength() - orig_document_len curr_pos = editor.getCurrentPos() clipboard_text = editor.getTextRange(curr_pos - pasted_text_len, curr_pos) editor.deleteRange(curr_pos - pasted_text_len, pasted_text_len) if '\r' in clipboard_text or '\n' in clipboard_text: # keep it simple; don't allow multiline search text editor.endUndoAction() return del_line_list = [] find_start_pos = 0 while True: f = editor.findText(FINDOPTION.MATCHCASE, find_start_pos, editor.getTextLength(), clipboard_text) if f == None: break (found_start_pos, found_end_pos) = f line_nbr = editor.lineFromPosition(found_start_pos) if len(del_line_list) > 0: if del_line_list[0] != line_nbr: del_line_list.insert(0, line_nbr) else: del_line_list.append(line_nbr) find_start_pos = found_end_pos for line in del_line_list: editor.deleteLine(line) editor.endUndoAction() DLWCT__main()

    The only tricky part is in getting the clipboard data. I paste the clipboard contents into the document, read what was just pasted, and then delete those contents. After that it is a simple matter to locate the desired text and delete the lines it occurs on.

  • New Capability - Dragging Tab Creates New Instance

    Locked
    2
    0 Votes
    2 Posts
    963 Views
    Scott SumnerS

    @Jeremy-Fegenbush

    Why is this a “New Capability”? This has existed for many years. (confused)

  • ConvertExt source code? Or other EBCDIC converter plugin?

    Locked
    2
    0 Votes
    2 Posts
    7k Views
    Vitaliy DovganV

    I’d use iconv (for example, from http://gnuwin32.sourceforge.net/packages/libiconv.htm) for the conversion.
    And PythonScript or NppExec plugin can be used to create a script that will call iconv to convert the current file.

  • NppExec v0.6 RC1 has been released!

    Locked
    2
    2 Votes
    2 Posts
    1k Views
    Vitaliy DovganV

    For those who are new to NppExec:

    Here is some brief info about NppExec for new users:

    NppExec adds a Console window at the bottom of Notepad++'s window;
    This Console window allows to run different console programs directly in it;
    Also there is Plugins -> NppExec -> Execute… window that allows to execute NppExec’s scripts (set of commands). NppExec’s commands and variables are listed in the “NppExec.txt” file. To get more details, type “help” (without the quotes) directly in NppExec’s Console. To get a detailed help about any NppExec’s command, type “help [command]” - e.g. “help npp_open” or “help set”.
    And don’t forget about Plugins -> NppExec -> Help/Manual.

    Installation:

    Just unpack the NppExec zip-archive to the folder “Notepad++\plugins”.
    It will extract the file “NppExec.dll” as well as the “doc\NppExec” and “NppExec” subfolders.
  • Line up , delimited data with columns in N++ 7.5 64bit

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Bonnie-Harmon

    if you know python you could use the python script plugin to let a script do the job.

    Cheers
    Claudia

  • Notepad++ message to know the tab size

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Guido ThelenG

    Hi Claudia,
    many thanks for your answer! That’s what I was looking for. I don’t understand why I did not find it myself!!
    Regards
    Guido

  • Bertrand

    Locked
    3
  • COBOL Plugin Development

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    chcgC

    Some examples referencing sourceforge downloads are outdated and more up to date plugin examples of donho are available from:
    https://github.com/npp-plugins/plugindemo
    https://github.com/npp-plugins/plugintemplate

  • NppExec v0.6 beta 1 has been realeased!

    16
    7 Votes
    16 Posts
    8k Views
    chcgC

    @dinkumoil Checkback with Dave Brotherstone showed that the server was not working as expected. The missing sync happened and the 2 week schedule is in place again.

  • 0 Votes
    5 Posts
    3k Views
    dinkumoilD

    @Scott-Sumner

    To have a consistent user experience it would be better like you wrote. But I also agree that this needs so much effort that no one should hope to get these features.

    I think the proponents of the two-button solution missed a point. It seems they prefer to have two buttons because they want to speed up doing SEARCHES. For this use case Notepad++ offers some powerful alternatives:

    Keyboard shortcuts for forward (F3) and backward (SHIFT+F3) searching. With support of the “Customize Toolbar” plugin one can even have toolbar buttons for both of that. The seemingly overlooked though very useful “Incremental Search” (CTRL+ALT+I) function where forward and backward search buttons are already present. This function even provides a separate input field for the search term (which is integrated seamlessly into the UI), case sensitive search, highlighting of matches and it displays the matches count. The also seemingly overlooked “Find (Volatile) Next” (CTRL+ALT+F3) and “Find (Volatile) Previous” (CTRL+ALT+SHIFT+F3) functions. These functions search the next/previous word under the cursor, the quickest way to start a search because its needless to input a search term somewhere.

    I guess the initial intent when introducing the two-button search mode was to reduce the number of UI-elements and to simplify the work with this dialog. But the current design of the dialog has not only totally failed this aim, the oposite is the case.

    In my opinion the “Search & Replace” dialog should be used for more sophisticated search/replace tasks, that’s the reason why it has so much options. And instead of complaining about missing functions and demanding changes to a program users should investigate thoroughly the UI and the options dialog, often they will find useful treasures.

  • Notepad++ 7.5.6 for Clojure by modifying config files of Lisp

    3
    1 Votes
    3 Posts
    2k Views
    linpengchengL

    I hope that notepad++ officially supports Clojure,
    These configuration file can be merged into notepad++.
    I don’t understand C++ and git, I can’t pull rquests.

  • XMLTools is causing problem with NPP

    4
    0 Votes
    4 Posts
    4k Views
    chcgC

    What do you see under ?->Debug Info? For me:

    Notepad++ v7.5.6 (64-bit)
    Build time : Mar 19 2018 - 00:23:17
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : ComparePlugin.dll DSpellCheck.dll mimeTools.dll NppConverter.dll nppcrypt.dll NppFTP.dll PluginManager.dll XMLTools.dll

  • plugin manager update error

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    chcgC

    Please check at https://github.com/bruderstein/nppPluginManager/issues and create a new issue there.