• "Unknown exception" on startup with PythonScript Plugin

    Locked
    9
    0 Votes
    9 Posts
    5k Views
    gracile-frG

    Thank you very much!!
    It’s working now. The two things that I had not tried before are steps 2 and 5. I think that makes the difference. I also rebooted my computer before step 8.

    Thanks again Claudia!

  • 0 Votes
    7 Posts
    6k Views
    Scott SumnerS

    @xiaokLinux

    It occurred to me that line-change markings could also be generated as a side-effect (meaning you wouldn’t have to do ANYTHING to get them) of the technique for “find dialog automation” discussed in these threads:

    https://notepad-plus-plus.org/community/topic/14181/execute-n-find-in-files-via-cmdline-script
    https://notepad-plus-plus.org/community/topic/14130/hide-or-toggle-find-results-panel-with-keyboard-command

    It is some amount of work, but it is still all Pythonscript, which you indicated you were somewhat familiar with in your original posting.

    Basically you would use code to populate the fields in Notepad++'s Find/Replace interface, then press buttons (again via code) to do searches/replacements. Because Notepad++ itself would then take over and do the actual replacements, the line-change markings (from the plugin) would occur.

  • How to rename an editor tab?

    Locked
    6
    0 Votes
    6 Posts
    7k Views
    loligansL

    Hi @MAPJe71

    I think what you are suggesting would work, but I also think that being able to rename tabs would be a valuable feature to have because it will allow users or plugins to better organize their tabs.

  • has a bracket plugin like parinfer

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Bulk Importing / Exporting Macros

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Timothy WhittakerT

    Notepad++ Batch Macro Generator
    php script to generate shortcuts.xml for Notepad++ Macros

    https://sourceforge.net/projects/notepad-batch-macro-generator/

  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • plugin to detect changes made by external application?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Document Monitor Stability

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Jason CollegeJ

    I’ve had the exact same problem with the DSpell plugin for the last several notepad++ updates. Notepad++ setup always says that this plugin is being disabled due to stability issues, but then the plugin manager always shows it’s stability status as “Good”

    I’m thinking that there is either a problem (bug) with the installer in this regard, or those who are supposed to be vetting the status of plugin stability for these Notepad++ release updates are doing something wrong.

    Is it possible that this can be looked at as a possible bug in the Notepad++ installer? (If this should be moved to another forum, please let me know)

  • Can plugins modify built in FindReplaceDlg ?

    3
    0 Votes
    3 Posts
    2k Views
    Indigo GullI

    Thanks Claudia - will investigate further.

  • Adding icons to toolbar along with a leading separator

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • plugin to show actual file size

    4
    0 Votes
    4 Posts
    5k Views
    AdrianHHHA

    The file size is shown all the time within the status line at the bottom of the Notepad++ window. The image posted by Claudia shows “length: 628 lines: 21”.

  • Accessing Matlab debugging functionality

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [Updated Plugin] NPP SQL Formatter 64 bit available (SQLinForm)

    Locked
    1
    0 Votes
    1 Posts
    7k Views
    No one has replied
  • CNET Sourceforge: Compare plugin other alternatives?

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    pnedevP

    Hello @Nancy-Johnson ,

    You can get the latest officially released Compare Plugin version from https://github.com/pnedev/compare-plugin/releases/tag/v2.0.0.
    This is also where Plugin Manager will get it from.

    BR

  • FunctionList parsing bug - ?!(if|while|for)

    Locked
    2
    1 Votes
    2 Posts
    2k Views
    MAPJe71M

    Whenever I update a parser this issue gets addressed, allthough I use \b(?!(?:if|while|for)\b).

  • MenuIcon problem with latest version of NPP

    25
    0 Votes
    25 Posts
    18k Views
    YaronY

    Hello Claudia,

    Welcome back. I hope you had a good time.
    The forum is not what it is when you’re away. :)

    Thanks again for your kind help.

    Best regards.

  • Plugin Idea

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @af-chlam

    it is not that easy because npp is a text editor and it handles the text like it is.
    What you want needs to add some additional format tags which need to be saved somewhere
    but obviously not in the text file itself.

    So, in theory, a plugin must not only know how to manipulate the document in that way but also
    has to know which document has been formatted with some spoiler text already,
    in order to make it happen on reload again. So it must store the status for that document.
    But what happens if someone outside changes the document?? You see, not that easy.

    Cheers
    Claudia

  • Start position of the forms

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    3 Posts
    3k Views
    Bill MooreB

    That’s cool! I Didn’'t realize the Character Panel was i the menu.

    In that case, its only a small code change for the notepad++ source to “borrow” the XML file from the “symbsearch” program, and add the same combo-box for selecting different character groups to the “character panel”. The notepad++ team could at a minimum add in a combobox group for “Greek characters” and one for “math symbols”. Heres the XML from symbsearch zip install file:

    <?xml version=“1.0” encoding=“UTF-8”?>
    <symbols>
    <symb name=“Alpha” sign=“Α” cat=“Greek”></symb>
    <symb name=“alpha” sign=“α” cat=“Greek”></symb>
    <symb name=“Beta” sign=“Β” cat=“Greek”></symb>
    <symb name=“beta” sign=“β” cat=“Greek”></symb>

    <symb name=“N-ary Product” sign=“∏” cat=“Mathematics”></symb>
    <symb name=“N-ary Coproduct” sign=“∐” cat=“Mathematics”></symb>
    <symb name=“N-ary Summation” sign=“∑” cat=“Mathematics”></symb>
    <symb name=“Minus Sign” sign=“−” cat=“Mathematics”></symb>
    <symb name=“Division Sign” sign=“÷” cat=“Mathematics”></symb>
    <symb name=“Square Root” sign=“√” cat=“Mathematics”></symb>

    <symb name=“Leftwards Arrow” sign=“←” cat=“Arrows”></symb>
    <symb name=“Upwards Arrow” sign=“↑” cat=“Arrows”></symb>
    <symb name=“Rightwards Arrow” sign=“→” cat=“Arrows”></symb>
    <symb name=“Downwards Arrow” sign=“↓” cat=“Arrows”></symb>
    <symb name=“Left Right Arrow” sign=“↔” cat=“Arrows”></symb>


    <symb name=“Smiley Happy Light” sign=“☺” cat=“Special”></symb>
    <symb name=“Smiley Happy Dark” sign=“☻” cat=“Special”></symb>
    <symb name=“Heart” sign=“♥” cat=“Special”></symb>
    <symb name=“Diamonds” sign=“♦” cat=“Special”></symb>
    <symb name=“Club” sign=“♣” cat=“Special”></symb>
    <symb name=“Spade” sign=“♠” cat=“Special”></symb>
    <symb name=“Bullet” sign=“•” cat=“Special”></symb>

    The nice thing about using XML in notepad++ install directory for setting up “Character Panel” combobox groups is that it allows anybody to customize the characters that they want to use… notepad++ can just add the groupings that most people need such as math and greek letters for writing scientific documents in text docments with out using strange markup languages like Tex, or adding scientific/math comments in programming source files…

    Actually, what i wanted is all the subscripts and superscript numbers and alphabet to be in one group… only problem i’ve been having with it is setting the correct monospace font to get it to print them… see python script for example:

    import sys

    on windows run from QtConsole for unicode (Cmd console only support codepage characters) At present (6/10/2017), superscripts/subscript chars are best viewed with terminal/text-editor set to monospace font “DejaVu Sans Mono” “Consolas” works also, but is missing a few characters… and, “Courier” has the worst support at present…

    if int(sys.version[0]) != 3:
    print(‘Aborted: Python 3.x required’)
    sys.exit(1)

    def table():
    unicode_map = {
    # superscript subscript
    ‘0’ : (‘\u2070’, ‘\u2080’ ),
    ‘1’ : (‘\u00B9’, ‘\u2081’ ),
    ‘2’ : (‘\u00B2’, ‘\u2082’ ),
    ‘3’ : (‘\u00B3’, ‘\u2083’ ),
    ‘4’ : (‘\u2074’, ‘\u2084’ ),
    ‘5’ : (‘\u2075’, ‘\u2085’ ),
    ‘6’ : (‘\u2076’, ‘\u2086’ ),
    ‘7’ : (‘\u2077’, ‘\u2087’ ),
    ‘8’ : (‘\u2078’, ‘\u2088’ ),
    ‘9’ : (‘\u2079’, ‘\u2089’ ),
    ‘a’ : (‘\u1d43’, ‘\u2090’ ),
    ‘b’ : (‘\u1d47’, ‘?’ ),
    ‘c’ : (‘\u1d9c’, ‘?’ ),
    ‘d’ : (‘\u1d48’, ‘?’ ),
    ‘e’ : (‘\u1d49’, ‘\u2091’ ),
    ‘f’ : (‘\u1da0’, ‘?’ ),
    ‘g’ : (‘\u1d4d’, ‘?’ ),
    ‘h’ : (‘\u02b0’, ‘\u2095’ ),
    ‘i’ : (‘\u2071’, ‘\u1d62’ ),
    ‘j’ : (‘\u02b2’, ‘\u2c7c’ ),
    ‘k’ : (‘\u1d4f’, ‘\u2096’ ),
    ‘l’ : (‘\u02e1’, ‘\u2097’ ),
    ‘m’ : (‘\u1d50’, ‘\u2098’ ),
    ‘n’ : (‘\u207f’, ‘\u2099’ ),
    ‘o’ : (‘\u1d52’, ‘\u2092’ ),
    ‘p’ : (‘\u1d56’, ‘\u209a’ ),
    ‘q’ : (‘?’, ‘?’ ),
    ‘r’ : (‘\u02b3’, ‘\u1d63’ ),
    ‘s’ : (‘\u02e2’, ‘\u209b’ ),
    ‘t’ : (‘\u1d57’, ‘\u209c’ ),
    ‘u’ : (‘\u1d58’, ‘\u1d64’ ),
    ‘v’ : (‘\u1d5b’, ‘\u1d65’ ),
    ‘w’ : (‘\u02b7’, ‘?’ ),
    ‘x’ : (‘\u02e3’, ‘\u2093’ ),
    ‘y’ : (‘\u02b8’, ‘?’ ),
    ‘z’ : (‘?’, ‘?’ ),
    ‘A’ : (‘\u1d2c’, ‘?’ ),
    ‘B’ : (‘\u1d2e’, ‘?’ ),
    ‘C’ : (‘?’, ‘?’ ),
    ‘D’ : (‘\u1d30’, ‘?’ ),
    ‘E’ : (‘\u1d31’, ‘?’ ),
    ‘F’ : (‘?’, ‘?’ ),
    ‘G’ : (‘\u1d33’, ‘?’ ),
    ‘H’ : (‘\u1d34’, ‘?’ ),
    ‘I’ : (‘\u1d35’, ‘?’ ),
    ‘J’ : (‘\u1d36’, ‘?’ ),
    ‘K’ : (‘\u1d37’, ‘?’ ),
    ‘L’ : (‘\u1d38’, ‘?’ ),
    ‘M’ : (‘\u1d39’, ‘?’ ),
    ‘N’ : (‘\u1d3a’, ‘?’ ),
    ‘O’ : (‘\u1d3c’, ‘?’ ),
    ‘P’ : (‘\u1d3e’, ‘?’ ),
    ‘Q’ : (‘?’, ‘?’ ),
    ‘R’ : (‘\u1d3f’, ‘?’ ),
    ‘S’ : (‘?’, ‘?’ ),
    ‘T’ : (‘\u1d40’, ‘?’ ),
    ‘U’ : (‘\u1d41’, ‘?’ ),
    ‘V’ : (‘\u2c7d’, ‘?’ ),
    ‘W’ : (‘\u1d42’, ‘?’ ),
    ‘X’ : (‘?’, ‘?’ ),
    ‘Y’ : (‘?’, ‘?’ ),
    ‘Z’ : (‘?’, ‘?’ ),
    ‘+’ : (‘\u207A’, ‘\u208A’ ),
    ‘-’ : (‘\u207B’, ‘\u208B’ ),
    ‘=’ : (‘\u207C’, ‘\u208C’ ),
    ‘(’ : (‘\u207D’, ‘\u208D’ ),
    ‘)’ : (‘\u207E’, ‘\u208E’ ),
    ‘:alpha’ : (‘\u1d45’, ‘?’ ),
    ‘:beta’ : (‘\u1d5d’, ‘\u1d66’ ),
    ‘:gamma’ : (‘\u1d5e’, ‘\u1d67’ ),
    ‘:delta’ : (‘\u1d5f’, ‘?’ ),
    ‘:epsilon’ : (‘\u1d4b’, ‘?’ ),
    ‘:theta’ : (‘\u1dbf’, ‘?’ ),
    ‘:iota’ : (‘\u1da5’, ‘?’ ),
    ‘:pho’ : (‘?’, ‘\u1d68’ ),
    ‘:phi’ : (‘\u1db2’, ‘?’ ),
    ‘:psi’ : (‘\u1d60’, ‘\u1d69’ ),
    ‘:chi’ : (‘\u1d61’, ‘\u1d6a’ ),
    ‘:coffee’ : (‘\u2615’, ‘\u2615’ )
    }

    keys = sorted(unicode_map.keys()) for key in keys: spr = "X" + unicode_map[key][0] sub = "X" + unicode_map[key][1] if (spr == "X?"): spr = "" if (sub == "X?"): sub = "" print('%-15s %s %s' % (key, spr, sub))

    table()

  • 0 Votes
    2 Posts
    2k Views
    Bill MooreB

    I realized later that most of unicode characters are missing for superscript and subscript.

    However, they include a complete numerical superscript and subscript character set. For example:
    X⁴

    What is needed is a character search toolbar like symbsearch:

    symbsearch

    symbsearch source code