• Login
Community
  • Login
  1. Home
  2. Help wanted · · · – – – · · ·
Log in to post
Load new posts
  • Recently Replied
  • Recently Created
  • Most Posts
  • Most Votes
  • Most Views
  • D

    theme keywords: "WORD", "KEYWORD" and "TYPE WORD" etc.

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Mar 23, 2020, 11:05 PM
    Mar 23, 2020, 1:31 PM
    0 Votes
    5 Posts
    2k Views
    D Mar 23, 2020, 11:05 PM

    @PeterJones

    Hi Peter, thanks again for the prompt reply.

    Your experiment was spot on. However, If I specify individual “names”: “parm”, “yAxis”, “labels”, and “font” in the “WINDOW INSTRUCTION” style “User-defined keywords” box instead of the complete name “this.parm.yAxis.labels.font” it works:

    e6f79221-bfb6-4437-a5dd-89dc4b4776f2-image.png

    If I go further and add the appropriate keywords to the “TYPE WORD” style “User-defined keywords” box, I can get this:

    a264c54f-b5d0-4cb5-9912-ea325f2908f4-image.png

    So, I am nearly there. That is a vast improvement.

    I have to say I am very impressed with the speed and the care you take with your replies. Thank you very much.

    David Wilkinson UK

  • R

    compare plugin doesn't install

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Mar 23, 2020, 5:30 PM
    Mar 20, 2020, 1:08 PM
    0 Votes
    4 Posts
    1k Views
    P Mar 23, 2020, 5:30 PM

    That sounds to me like you have need a proxy setup. If your IT group makes you go through a proxy server, follow the instructions in this other post for changing the proxy settings (in case it’s not clear over there: you must Run as Administrator to change proxy settings). I think this should fix your download issue

    Your second issue (“even when I try to download and install from a third party”) was clarified in your other post in another compare-plugin thread (please keep your issue consolidated here) is because you “moved it into notepad + +\plugins”. That’s wrong, and has been for over a year (since v7.6.3 in Jan 2019). Notepad++ now keeps its plugins in <installdir>\plugins\PluginName\PluginName.dll. So the ComparePlugin would go as <installdir>\plugins\ComparePlugin\ComparePlugin.dll, with any subfolders it wants as subfolders of that folder (<installdir>\plugins\ComparePlugin\subfoldername); there shouldn’t be any DLLs directly in <installdir>\plugins anymore.

  • O

    How to disable multiple lines?

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Mar 23, 2020, 3:26 PM
    Mar 23, 2020, 3:04 PM
    0 Votes
    3 Posts
    733 Views
    O Mar 23, 2020, 3:26 PM

    @PeterJones said in How to disable multiple lines?:

    Toggle that setting with View > Word Wrap or the little Word wrap button on the toolbar

    87be51e2-7244-4256-bedc-f1c0af8ce261-image.png

    Ah! Thank you so much!

  • C

    Replacing three digit numbers with random numbers

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Mar 23, 2020, 11:56 AM
    Mar 23, 2020, 2:01 AM
    0 Votes
    2 Posts
    311 Views
    A Mar 23, 2020, 11:56 AM

    @Calypsm

    It’s an OK question to ask here.
    Unfortunately, neither Notepad++ nor plugin can help you with that type of problem.
    If you want to resort to programming, it can be done, but don’t know if that is an option for you.
    You also really need to show some of what your data looks like, if you want further help.

  • R

    Keeping urls and deleting rest of the stuff from copied sourcecode.

    Watching Ignoring Scheduled Pinned Locked Moved
    7 Mar 22, 2020, 7:09 PM
    Mar 22, 2020, 6:36 PM
    1 Votes
    7 Posts
    609 Views
    A Mar 22, 2020, 7:09 PM

    It is sometimes difficult to keep certain text by trying to match the remaining text, usually because the remaining text is hard to match because it may not be as patterned as the “to keep” text.

    @guy038 discusses a technique to do this kind of text retention in this thread. Probably could be adapted to work well here.

  • K

    Preferences not saving

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Mar 22, 2020, 12:30 PM
    Mar 20, 2020, 4:45 PM
    0 Votes
    2 Posts
    165 Views
    E Mar 22, 2020, 12:30 PM

    I don’t really understand your problem, can you elaborate on it?

  • R

    Breaking one text file to multiple files.

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Mar 21, 2020, 7:05 PM
    Mar 21, 2020, 6:11 PM
    0 Votes
    2 Posts
    265 Views
    D Mar 21, 2020, 7:05 PM

    What have you tried so far?

  • A

    Regex Help to replace text except when it matches a string

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Mar 20, 2020, 8:41 PM
    Mar 20, 2020, 3:03 PM
    0 Votes
    5 Posts
    493 Views
    G Mar 20, 2020, 8:41 PM

    Hello, @alfred-streich, @alan-kilborn and All,

    As, seemingly, all lines, which must be joined to their previous line, do not contain any colon symbol ( : ), an alternate syntax, to the Alan’s one, could be :

    SEARCH (?-i)</para>\h*\R+\h*<para>(?![^\r\n]+:)

    REPLACE \x20

    Notes :

    First, the in-line modifier (?-i) forces a non-insensitive search process

    The part \h*\R+\h* matches any range of horizontal blank char(s) ( Space and Tab ), even null, followed with a non null range of line-breaks ( \r\n, \n or \r ), itself followed with an other possible range of blank char(s)

    The part (?![^\r\n]+:) is a negative look-ahead structure, which defines a necessary condition for the overall regex to match, although not part of the final match, and looks for a line with does not contain any colon character, after the literal string <para> till its line-break

    Note that the [^\r\n]+ defines a non-null of characters, different of EOL chars. So, any char after <para> till the colon symbol : !

    In replacement, the syntax \x20 is the hexadecimal representation of a space character and you may, as well, write a single space char in the Replace with: zone

    Best regards,

    guy038

  • H

    Disable Find Autocomplete

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Mar 20, 2020, 11:50 AM
    Mar 19, 2020, 6:30 PM
    0 Votes
    6 Posts
    680 Views
    A Mar 20, 2020, 11:50 AM

    @Hyde233

    reversing the negative

    I think you’re right, and that it would be that way if it was a settable preference from Notepad++ 1.0.

    Notepad++ users are used to it filling the field in; “don’t” seems to flow logically from that, maybe.

    In the end it doesn’t matter: It will never be changed now.

  • Mike GrahamM

    ColdFusion Lexer and NPP after (7.5.9)

    Watching Ignoring Scheduled Pinned Locked Moved
    11 Mar 19, 2020, 5:08 PM
    May 22, 2019, 6:14 AM
    0 Votes
    11 Posts
    8k Views
    P Mar 19, 2020, 5:08 PM

    @Michael-Benoit , the user @Joe-DeRose hasn’t been here since that single post.

    In the intervening 8 months, that old collection has been moved to https://github.com/notepad-plus-plus/userDefinedLanguages, and the specific file he mentioned is
    https://raw.githubusercontent.com/notepad-plus-plus/userDefinedLanguages/master/UDLs/ColdfusionCF9_bySpenster.xml

  • omgfrostO

    Start notepad++ with administrator rights

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Mar 19, 2020, 10:12 AM
    Mar 19, 2020, 10:12 AM
    0 Votes
    1 Posts
    166 Views
    No one has replied
  • Mark WarkentinM

    Set Notepad++ as default app in Windows 10

    Watching Ignoring Scheduled Pinned Locked Moved
    14 Mar 19, 2020, 6:11 AM
    Jan 6, 2017, 4:13 PM
    0 Votes
    14 Posts
    92k Views
    MordicusM Mar 19, 2020, 6:11 AM

    @Jason-M-Fruge
    Got this issue recently, could not add a new notepad++ document from contextual menu.
    I followed your solution, but “.txt” was already in supported extensions panel.
    What I’ve done: restarted Notepad++ with admin rights, removed and re-added “.txt”.
    It worked!

  • Donna MiddletonD

    Simple html tag question

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Mar 19, 2020, 2:49 AM
    Mar 19, 2020, 1:02 AM
    0 Votes
    3 Posts
    702 Views
    Terry RT Mar 19, 2020, 2:49 AM

    @Donna-Middleton

    I’ve taken the liberty of providing an example of how it might work, of course having your examples will help immensely.

    In the first block below we see how the lines might look before the html tags are applied. Note I have presumed you already have the <ul> & </ul> code already in place as you ONLY mentioned the <li> and </li> tags. The second block shows the result with my regex applied.

    First you would highlight JUST the lines containing the list items. Very important not to select any additional lines. After this you would use the “Replace” function (Search, Replace). Now as this is a regex we need to select “regular expression” as the search mode. The expression we use is:
    in the Find What window:(?-s)(.+)
    in the Replace window: <li>\1</li> note 2 spaces before as our original text is left justified and we want to indent it 2 positions.
    Before we click on “Replace All” confirm the selection is still in place and then tick the box named “In Selection”. If this box not selectable it means the selection has been lost. Click on “Replace all” button. Confirm your items are now correctly tagged.

    <ul style="list-style-type:circle;"> Coffee Tea Milk </ul>

    and after using the regex we have

    <ul style="list-style-type:circle;"> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul>

    Hope this helps, but as I say it is best if you can provide some examples. If the data is sensitive, please do replace with dummy data but the original formatting of your real data needs to remain (tabs, spaces etc) as this can help or hinder the final solution.

    Terry

  • James LongJ

    problems with apostrophies

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Mar 18, 2020, 10:37 PM
    Mar 18, 2020, 7:45 PM
    0 Votes
    3 Posts
    760 Views
    James LongJ Mar 18, 2020, 10:37 PM

    Alan, you are my hero. Thank you!!

  • John SleeJ

    Regex Macro: Creating Macro to Replace variable text with text determined by text on next line

    Watching Ignoring Scheduled Pinned Locked Moved regex macro
    11 Mar 18, 2020, 10:37 PM
    Mar 16, 2020, 11:58 PM
    0 Votes
    11 Posts
    2k Views
    John SleeJ Mar 18, 2020, 10:37 PM

    @Alan-Kilborn Thank you so much, Alan. It’s years since I did any proper programming, though that was a previous occupation. Guess I’m going to have to teach myself to use Python!

  • Dan DeweyD

    UDL Breaks

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Mar 18, 2020, 3:19 PM
    Mar 16, 2020, 3:47 PM
    0 Votes
    6 Posts
    2k Views
    Dan DeweyD Mar 18, 2020, 3:19 PM

    It happened again so attached are images of:
    the state after the syntax highlighting breaks
    after_issue.jpg
    the state after refreshing the UDL via the language dropdown
    after_refresh.jpg
    the state the code was before the highlighting broke
    before_issue.jpg

    When I make the same modifications again it doesn’t break so it’s not consistent. This was also the very first change I made after opening the file so that might be relevant.

    As a note, that highlighting is as if there is a left quote without matching right quote. However, there isn’t any left quote in the prior code, much less without a matching right quote.

    I had longer snippets from the beginning of the code initially however I work with sensitive information and although it was probably okay I’d rather not risk it.

  • hatsa tsaaH

    Search fails

    Watching Ignoring Scheduled Pinned Locked Moved
    12 Mar 18, 2020, 7:02 AM
    Mar 16, 2020, 8:26 AM
    0 Votes
    12 Posts
    3k Views
    hatsa tsaaH Mar 18, 2020, 7:02 AM

    Thanks guy038 for the tip!

  • R

    After updating to NP++ 7.8.4 (64 bit) all of the theme colours are incorrect

    Watching Ignoring Scheduled Pinned Locked Moved
    7 Mar 18, 2020, 2:10 AM
    Feb 17, 2020, 11:41 PM
    0 Votes
    7 Posts
    409 Views
    R Mar 18, 2020, 2:10 AM

    Thanks Alan and Ekopalypse. I’ll add something in there…

  • 潘潘桑潘

    Level Folds with brackets in comments after double slashes

    Watching Ignoring Scheduled Pinned Locked Moved fold
    1 Mar 17, 2020, 4:04 AM
    Mar 17, 2020, 4:04 AM
    0 Votes
    1 Posts
    150 Views
    No one has replied
  • Gulab BorkarG

    find duplicate and copy to other text

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Mar 16, 2020, 1:32 PM
    Mar 16, 2020, 10:08 AM
    0 Votes
    4 Posts
    1k Views
    E Mar 16, 2020, 1:32 PM

    Ok, if ordering is not relevant then you could do the following

    edit->line operations->sort line lexicographically ascending
    make sure that last line has an eol
    open find dialog and goto mark tab
    check bookmark line box
    put the following into find box:(.+\R)\1
    press mark all
    use one of the commands from search->bookmarks menu.

The Community of users of the Notepad++ text editor.
Powered by NodeBB | Contributors