• translate plugin

    2
    0 Votes
    2 Posts
    494 Views
    PeterJonesP

    @Bingomen said in translate plugin:

    I can not install the translator plugin

    What were you using? What did you try? What did you get when you tried?

    Please read this FAQ and then reply with more details.

  • Debug build of N++ 7.8.1 x32 missing plugin admin

    1
    0 Votes
    1 Posts
    203 Views
    No one has replied
  • Notepad++ plugin template (& plugin demo) x64 build available

    21
    2 Votes
    21 Posts
    101k Views
    Derek BrownD

    The Scintilla.h file in this template is out of date, causing runtime errors in x64 plugins.

    https://github.com/npp-plugins/plugintemplate/issues/4

  • 0 Votes
    16 Posts
    2k Views
    PeterJonesP

    @Ekopalypse said in External SendMessage to Notepad++ for NPPM_GETOPENFILENAMES and other TCHAR**:

    Any reason for that?

    Yes. Mostly, because I didn’t know it contained much the same information as Scintilla.h. And I already had my script to convert from .h to a Perl data structure, so even if I had known it was there, I probably would have preferred the .h .

  • Installing 7.82 - error!

    4
    1 Votes
    4 Posts
    1k Views
    Perry WolfeP

    @Ekopalypse

    No Worries. Figured out. We have a new security policy at work. I had to login as local admin to do any application software install.

    All good.

    Thanks,

    PW

  • code alignment plugin got disabled in in the new version release

    12
    0 Votes
    12 Posts
    10k Views
    Сергей ДрузьС

    @Meta-Chuh said in code alignment plugin got disabled in in the new version release:

    Well, in a nutshell:

    In folder C:\Program Files\Notepad++\plugins create folder CodeAlignmentNpp > transfer files from the folder CodeAlignmentNpp_v14.1_x64.

    THE END. 🙃

  • FunctionList Plugin v2.1

    4
    0 Votes
    4 Posts
    2k Views
    PeterJonesP

    @Сергей-Друзь said in FunctionList Plugin v2.1:

    …this plugin seems to make it easy and fast to work with functions. Am I right? 🙃

    🙃 Like I said before, I didn’t know. I just downloaded the source code and read the readme.txt: “This sources contains a dockable function list for Notepad++ version 5.1 UNICODE. With this plugin you could easy browse between functions in a file.”

    So, yes, as I thought, it was a plugin that implemented an early version of what became the builtin View > Function List. There is no reason to continue trying to install it (and many reasons not to: it was optimized for a version of Notepad++ that is 9+ years out of date; it is a 32-bit DLL and you have 64-bit Notepad++, so it is not compatible; it’s features have been superseded by the builtin feature; …) I suggest not trying to install it anymore (and deleting all the instances of the three files in different locations), since it won’t do anything for you.

  • Any tips on how to actually process Text Editor text? haha

    3
    2 Votes
    3 Posts
    473 Views
    EkopalypseE

    Just in case you aren’t aware, here the link how to develop a npp plugin.

  • "MenuIcons" how to use?

    12
    1 Votes
    12 Posts
    1k Views
    Сергей ДрузьС

    @Ekopalypse

    Thanx, with procmon i find that .ini file was in another place:

    C:\Users\USER\AppData\Roaming\Notepad++\plugins\config\

    I also have an IDE installed in Russian language. In order for the icons to work, I need to translate the files in the folder as well:

    C:\Program Files\Notepad++\plugins\MenuIcons\MenuIcons\

    alt text

    For example:
    Menu > Edit > Copy
    Menu > Edit > Paste

    Translate to:
    Menu > Правка > Копировать
    Menu > Правка > Вставить

    alt text

  • Trouble compiling test plugin (ANSI error)

    8
    0 Votes
    8 Posts
    843 Views
    EkopalypseE

    @CAKEbuilder

    as @PeterJones already posted you need to implement isUnicode function and return True.
    In addition, these functions need to be implemented as well

    isUnicode -> return True always getName -> return your plugin name setInfo -> informs your plugin about notepad++ and scintilla handles beNotified -> called in case of npp or scintilla events messageProc -> called in case of windows messages forwarded by npp getFuncsArray -> return the functions which should be available within your plugin menu
  • Include new style for new language (gcode language) in the notepade++

    2
    0 Votes
    2 Posts
    1k Views
    dinkumoilD

    @Ahmad-Awada

    In Notepad++ syntax highlighting and code folding is managed by the editing component Scintilla. This is an external open source project and the basis for a lot of editors and IDEs (Integrated Development Environments).

    Notepad++ only provides native support for programming languages that are supported by Scintilla. But it is possible to create control files for so called UDLs (User Defined Languages) to extend the language support of Notepad++. However, the configurator of UDLs integrated in Notepad++ has some limitations, thus it is almost not possible to achieve the same quality of language support for UDLs as for languages natively supported by Scintilla.

    So, you have two options:

    Go to >>> the project site of Scintilla <<< to file a feature request for including GCode as a natively supported language. But it likely will take a long time until it has been implemented. In Notepad++, go to (menu) Language -> Define your language. The UDL configurator will open and you are ready to start defining GCode as UDL. >>> This page <<< of the Notepad++ user manual provides some basic info how to do that and, most important, you will find there a link to a detailed manual.
  • 0 Votes
    2 Posts
    907 Views
    dinkumoilD

    @Aravind-Senguttuvan

    I’m totally sure you know the meaning of “rhetorical question” because you asked something like that.

    However, in software development such stylistic means are not helpful. Instead you should ask questions like “Is there any setting to avoid the message ‘Close the files?’ when Compare Plugin found a 100% match of two files?” or “Where can I file a feature request to avoid the message … ?”.

    The answer to the first question would be simply “No”. The answer to the second question would be “Go to >>> the GitHub repository <<< of the plugin.”

  • NppExport plugin - 'copy HTML to clipboard' does not work anymore

    16
    3 Votes
    16 Posts
    9k Views
    chcgC

    @Carl-Witthoft What exactly is not working? Which version of the plugin do you use?

    Since https://github.com/notepad-plus-plus/nppPluginList/commit/c85225bb5272e8e0dc7f5e36ba1acfbdd7ff0fba -> tag 1.1.3 used by N++ 7.8.1 the plugin is avialable via the builtin pluginAdmin of N++.

  • Publish new SQLinForm Release

    3
    0 Votes
    3 Posts
    312 Views
    Guido ThelenG

    Thanks, this is what I was looking for!!

  • Why there is no new HexEditor now?

    9
    0 Votes
    9 Posts
    28k Views
    Uffe Peter WalderöU

    @Alan-Pugh I had the same problem, but I figured out it was a UAC problem, i.e. run Notepad++ as Administrator

  • Trying to get python script and testfx.

    10
    0 Votes
    10 Posts
    574 Views
    EkopalypseE

    For both npp versions

    create PythonScript folder under plugins directory

    Npp >= 7.8

    download PythonScript 1.5.2 zip and extract it to newly created PythonScript folder -> done.

    Npp >= 7.7 and < 7.8

    download PythonScript 1.5.2 zip and extract it to newly created PythonScript folder move Python27.dll from PythonScript folder to notepad++.exe directory.
    -> Done.
  • JNI in CPP plugin

    11
    1 Votes
    11 Posts
    654 Views
  • RDMD for Notepad++

    2
    1 Votes
    2 Posts
    1k Views
    rinku singhR

    about dependency declaration for win10
    https://gitlab.com/dokutoku/rdmd-for-npp/issues/8

  • Help to build PythonScript plugin

    7
    1 Votes
    7 Posts
    468 Views
    EkopalypseE

    @cmeriaux

    it looks that the general environment variables are defined in
    Microsoft.Cpp.Common.props file which is located at
    ...\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets

    and the toolset specific props are read from
    ...\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\x64\PlatformToolsets

    So I assume that one of those props files point to an non-existent atl include path.

  • Transpose multiple selections

    16
    3 Votes
    16 Posts
    4k Views
    dkeenan7D
    -- Transpose selections or characters or lines. -- If there is 1 empty selection at the start or end of a line, then -- transpose the line with the one above it (the pre-existing Ctrl+T behaviour). -- If all selections are empty, then transpose the characters on either side of -- any that are not at the start or end of a line. -- If there is 1 non-empty selection, rotate its characters forward. -- If there are 2 or more selections that are not all empty, rotate the selection contents between selections. -- Useful for rotating the rows in a rectangular/column selection (Alt-select) local function transposeSelectionsOrCharactersOrLines() -- According to the Scintilla documentation, there is always at least one selection local lastIdx = editor.Selections - 1 -- Indexes for multiple selections are zero-based editor:BeginUndoAction() -- Begin the sequence of actions to be undone or redone as a unit if editor.SelectionEmpty then -- If all selections are empty, i.e. consist only of an insertion point if lastIdx == 0 and isStartOrEndOfLine(editor.CurrentPos) then -- If there is only one selection and it's at the start or end of a line editor:LineTranspose() -- Transpose the current line with the one before else -- Else multiple empty selections or a single empty selection not at the start or end of a line -- Transpose the characters on either side of each insertion point that is not at the start or end of a line for idx = 0, lastIdx do local pos = editor.SelectionNCaret[idx] if not isStartOrEndOfLine(pos) then -- If this empty selection is not at the start or end of a line transposeCharactersAt(pos) -- Transpose the characters either side of the given position -- The insertion point will now be before both characters -- Put the insertion point back in between them, allowing for different numbers of bytes per character pos = editor:PositionAfter(editor.SelectionNCaret[idx]) editor.SelectionNAnchor[idx] = pos editor.SelectionNCaret[idx] = pos end end end else -- Else selections are not all empty if lastIdx == 0 then -- If there is only 1 selection --[[ Alternative behaviour: editor:LineTranspose() -- Transpose the current line with the one before --]] -- Rotate the characters in the selection (ignores virtual space) local selStart = editor.SelectionNStart[0] local selEnd = editor.SelectionNEnd[0] rotateCharacters(selStart, selEnd) -- Restore the selection editor.SelectionNStart[0] = selStart editor.SelectionNEnd[0] = selEnd else -- Else there are 2 or more selections -- Rotate selection contents between selections local str = getSelectionNTextVirtual(lastIdx) -- Save the last selection including any virtual space for idx = lastIdx, 1, -1 do -- Shift the other selections along setSelectionNTextVirtual(idx, getSelectionNTextVirtual(idx-1)) end setSelectionNTextVirtual(0, str) -- Make the first selection be the saved last selection end end editor:EndUndoAction() -- End the sequence of actions to be undone or redone as a unit end -- Rotate selections backwards -- Useful for rotating the rows backwards in a rectangular/column selection (Alt-select) local function rotateSelectionsOrCharactersBackwards() -- According to the Scintilla documentation, there is always at least one selection local lastIdx = editor.Selections - 1 -- Indexes for multiple selections are zero-based editor:BeginUndoAction() -- Begin the sequence of actions to be undone or redone as a unit if lastIdx == 0 then -- If there is only 1 selection -- Rotate the characters backwards in the selection (ignores virtual space) local selStart = editor.SelectionNStart[0] local selEnd = editor.SelectionNEnd[0] rotateCharactersBackwards(selStart, selEnd) -- Restore the selection editor.SelectionNStart[0] = selStart editor.SelectionNEnd[0] = selEnd else -- Rotate selection contents backwards between selections local str = getSelectionNTextVirtual(0) -- Save the first selection including any virtual space for idx = 1, lastIdx do -- Shift the other selections along setSelectionNTextVirtual(idx-1, getSelectionNTextVirtual(idx)) end setSelectionNTextVirtual(lastIdx, str) -- Make the last selection be the saved first selection end editor:EndUndoAction() -- End the sequence of actions to be undone or redone as a unit end -- Reverse selections -- Useful for reversing the order of rows in a rectangular/column selection (Alt-select) local function reverseSelectionsOrCharacters() -- According to the Scintilla documentation, there is always at least one selection local lastIdx = editor.Selections - 1 -- Indexes for multiple selections are zero-based local lastSwap = editor.Selections // 2 - 1 editor:BeginUndoAction() -- Begin the sequence of actions to be undone or redone as a unit if lastIdx == 0 then -- If there is only 1 selection -- Reverse the characters in the selection (ignores virtual space) local selStart = editor.SelectionNStart[0] local selEnd = editor.SelectionNEnd[0] reverseCharacters(selStart, selEnd) -- Restore the selection editor.SelectionNStart[0] = selStart editor.SelectionNEnd[0] = selEnd else -- Else there are 2 or more selections -- Swap selection contents between opposite pairs of selections for idx = 0, lastSwap do local str = getSelectionNTextVirtual(lastIdx - idx) -- Save the later selection including any virtual space setSelectionNTextVirtual(lastIdx - idx, getSelectionNTextVirtual(idx)) -- Replace later selection with the opposite earlier selection setSelectionNTextVirtual(idx, str) -- Make the opposite earlier selection be the saved later selection end end editor:EndUndoAction() -- End the sequence of actions to be undone or redone as a unit end -- Add menu entry for transposing or rotating selections, characters or lines. -- The Ctrl+T shortcut may need to be added manually via -- Settings -> Shortcut Mapper -> Plugin commands -> Transpose Selections/Characters/Lines -> Modify. -- You can ignore the conflict with the shortcut for Scintilla SCI_LINETRANSPOSE. editor:ClearCmdKey(string.byte("T"), SCMOD_CTRL) -- This doesn't seem to work here npp.AddShortcut("Transpose Selections/Characters/Lines", "Ctrl+T", transposeSelectionsOrCharactersOrLines) -- Add menu entry for rotating selections backwards. npp.AddShortcut("Rotate Selections/Characters Backwards", "Ctrl+Alt+T", rotateSelectionsOrCharactersBackwards) -- Add menu entry for reversing selections. npp.AddShortcut("Reverse Selections/Characters", "Ctrl+Alt+Shift+T", reverseSelectionsOrCharacters)