• 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
  • C

    CDATA is not properly rendered in html files

    Watching Ignoring Scheduled Pinned Locked Moved cdata javascript html
    2 Apr 22, 2016, 9:01 PM
    Apr 22, 2016, 8:54 AM
    0 Votes
    2 Posts
    2k Views
    C Apr 22, 2016, 9:01 PM

    Hello @Carl-in-'t-Veld,

    AFAIK this how the current lexer is working.
    Don’t know of any other html lexer yet.

    Cheers
    Claudia

  • K

    Find and Replace

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Apr 22, 2016, 5:24 PM
    Apr 22, 2016, 7:07 AM
    0 Votes
    2 Posts
    2k Views
    G Apr 22, 2016, 5:24 PM

    Hello Kishor V

    Basically, this kind of operation can be easily achieved with a search/replacement, in extended or regular expression mode

    For instance, starting with the list below :

    Family Name : Adams First Name : Paul Age : 17 Secondary School : St Andrews College

    You would obtain, after the S/R :

    Family Name : Adams First Name : Paul Age : 17 Secondary School : St Andrews College

    Do you expect this behaviour ?

    If so, after opening the Replace dialog ( CTRL +H ) :

    A) If you check the Regular expression radio button :

    Find what : :\R Replace with : :

    Notes :

    In the Replace zone, the colon is followed with a single SPACE

    The \R syntax, means ( among other things ! ) any End of Line character ( \r\n with a Windows format, \n with an Unix/OSX format or \r with an old MAC format )

    B) If you check the Extended (\n, \r, \t, \0, \x…) radio button :

    Find what : :\r\n ( WINDOWS file format ) Replace with : :

    Notes :

    In the Replace zone, the colon is followed with a single SPACE

    If you currently use other file format than Windows, just write the right End of Line character, in the Find what zone

    Best Regards,

    guy038

  • A

    Identify , assigning language to a text file

    Watching Ignoring Scheduled Pinned Locked Moved language documentation
    2 Apr 22, 2016, 10:54 AM
    Apr 21, 2016, 5:18 PM
    0 Votes
    2 Posts
    2k Views
    K Apr 22, 2016, 10:54 AM

    Hi Antonio,

    take a look at
    %appdata%\Roaming\Notepad++\langs.xml

    KR, Robert

  • K

    I want to Bookmark a line by taking below or above line text reference.

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Apr 22, 2016, 10:33 AM
    Apr 22, 2016, 6:06 AM
    0 Votes
    2 Posts
    4k Views
    K Apr 22, 2016, 10:33 AM

    Macro - Start Recording
    CTRL + F, Search “Example”, Search and Close Search-Dialog
    Arrow-Down
    CTRL+F2 (Set Bookmark)
    F3 (Search Next)
    Arrow-Down
    CTRL+F2
    Macro - Stop Recording
    Macro - Save Current Macro
    Macro - Run a Macro Multiple Times…
    “Run until end of file”

    Voilà :-)

  • R

    Replace in KLM file

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Apr 21, 2016, 10:41 PM
    Apr 21, 2016, 10:29 PM
    0 Votes
    2 Posts
    2k Views
    D Apr 21, 2016, 10:41 PM

    Make sure you are in “Regular expression” mode. Search for:

    <gx:duration>.*?</gx:duration>

    Replace with

    <gx:duration>3.1415926</gx:duration>

    Or whatever value you need.

  • H

    Cant able to open any file using Notepad ++

    Watching Ignoring Scheduled Pinned Locked Moved open file open issue
    1 Apr 21, 2016, 1:35 PM
    Apr 21, 2016, 1:35 PM
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • G

    & symbol invisible

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Apr 21, 2016, 11:43 AM
    Apr 21, 2016, 11:16 AM
    0 Votes
    2 Posts
    2k Views
    D Apr 21, 2016, 11:43 AM

    This is a known issue with the “Source Code Pro” font. In your style configurator make sure you aren’t using it at all.

  • R

    id/shortcut for the Workspace directory

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Apr 21, 2016, 9:03 AM
    Apr 21, 2016, 9:03 AM
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • M

    How to replace a number range with same rang just adding an offset. ie find a 3 digit number between say 133 to 183, add 64 and replace the original number.

    Watching Ignoring Scheduled Pinned Locked Moved replace how to find and
    10 Apr 20, 2016, 5:09 AM
    Apr 16, 2016, 3:29 AM
    0 Votes
    10 Posts
    12k Views
    M Apr 20, 2016, 5:09 AM

    thanks Claudia.
    I have moved past those files so cant test currently.
    In future I will be back to the pesky lists again so will check then.
    Really appreciate the guidance.

    MInsik

  • Jeremy RichemontJ

    Collapse level 1 no longer collapses just functions

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Apr 19, 2016, 2:57 PM
    Apr 15, 2016, 4:11 PM
    0 Votes
    4 Posts
    3k Views
    C Apr 19, 2016, 2:57 PM

    Hi Jeremy,

    So this is something I’ll just have to live with unless someone fancies fixing the underlying component notepad++ is based on, right?

    I’m afraid, yes.

    Cheers
    Claudia

  • P

    Hand navigation

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Apr 19, 2016, 1:53 AM
    Apr 18, 2016, 4:55 PM
    0 Votes
    2 Posts
    2k Views
    C Apr 19, 2016, 1:53 AM

    Hello @Pascal-P.

    unfortunately I don’t know what a hand tool is and what it is used for.

    Cheers
    Claudia

  • Scotty HuffS

    Strange Characters

    Watching Ignoring Scheduled Pinned Locked Moved characters display unicode convert font
    2 Apr 19, 2016, 1:51 AM
    Apr 18, 2016, 5:39 PM
    0 Votes
    2 Posts
    10k Views
    C Apr 19, 2016, 1:51 AM

    Hello @Scotty-Huff,
    normally XML should be UTF-8 encoded but actually I assume this is ANSI.

    Give it a try to change in Menu Encoding->Encode ANSI/UTF-8

    Cheers
    Claudia

  • Nic HardingN

    Tab indent not showing in my log.txt file

    Watching Ignoring Scheduled Pinned Locked Moved tab indent
    12 Apr 18, 2016, 10:01 PM
    Apr 16, 2016, 1:06 AM
    0 Votes
    12 Posts
    9k Views
    Nic HardingN Apr 18, 2016, 10:01 PM

    Heres an example of using pipes and dashes:

    Mon, 18 Apr 2016 :: Process_Destroyed_gphoto()
    Mon, 18 Apr 2016 :: ----Set volume to 100%
    Mon, 18 Apr 2016 :: ----Win_Restore ahk_exe ehshell.exe
    Mon, 18 Apr 2016 :: ----|—Win_Focus ahk_exe ehshell.exe
    Mon, 18 Apr 2016 :: ----|—Process_Created_gphoto()
    Mon, 18 Apr 2016 :: ----|—|—test1
    Mon, 18 Apr 2016 :: ----|—|—test1
    Mon, 18 Apr 2016 :: ----|—|—test1
    Mon, 18 Apr 2016 :: ----|—|—|—test2
    Mon, 18 Apr 2016 :: ----|—|—|—test2
    Mon, 18 Apr 2016 :: ----|—|—|—test2
    Mon, 18 Apr 2016 :: ----|—Back to here
    Mon, 18 Apr 2016 :: ----|—Back to here
    Mon, 18 Apr 2016 :: ----Back to here

    Is it possible to show indent guides in the middle of a line where my tabs are??

  • J

    Automatically run Find in Files without user interaction

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Apr 18, 2016, 2:54 PM
    Apr 18, 2016, 2:16 PM
    0 Votes
    2 Posts
    2k Views
    D Apr 18, 2016, 2:54 PM

    AFAIK there is not a current way to automatically do something like that. Honestly it sounds like using N++ would be overkill. You might try other command line programs that are made specifically to do these tasks. sed and awk are two that come to mind. They do not come with Windows by default (unfortunately), but they are easy to find online.

  • Inderpal KapoorI

    Grid View as there in Altova XML Spy:

    Watching Ignoring Scheduled Pinned Locked Moved grid view
    2 Apr 17, 2016, 10:49 PM
    Apr 17, 2016, 5:09 PM
    0 Votes
    2 Posts
    4k Views
    C Apr 17, 2016, 10:49 PM

    Hello @Inderpal-Kapoor,

    no, not natively and I’m not aware of any plugin which would provide such functionality

    Cheers
    Claudia

  • Stefan TravisS

    Comments in "shortcuts.xml"

    Watching Ignoring Scheduled Pinned Locked Moved xml comments
    1 Apr 17, 2016, 8:07 PM
    Apr 17, 2016, 8:07 PM
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Chris SwinneyC

    UDL Documentation and how to define a Language to highlight Log files

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Apr 16, 2016, 9:14 PM
    Apr 16, 2016, 8:45 PM
    0 Votes
    2 Posts
    3k Views
    C Apr 16, 2016, 9:14 PM

    Hello @Chris-Swinney,

    I’m not sure if you can do this with UDL properly as it is designed to act on words rather than lines.
    If it is sufficient then define the keywords ERROR, WARNING with the foreground and background color
    of your choice and define a double quote delimiter for open and close. Press style and allow nesting
    with your keywords.

    If this isn’t what you are looking for, then the other alternative I now would be using a python script
    to color the the lines.

    Cheers
    Claudia

  • Kirk WebmeisterK

    How to get back option to run in web browser for version 6.9.1?

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Apr 16, 2016, 3:31 PM
    Apr 16, 2016, 2:43 PM
    0 Votes
    2 Posts
    3k Views
    C Apr 16, 2016, 3:31 PM

    Hello @Kirk-Webmeister,

    the current release does it also have. Under Run menu?

    If it doesn’t appear, chech your shortcuts.xml file.
    Default content is

    <NotepadPlus> <InternalCommands /> <Macros> <Macro name="Trim Trailing and save" Ctrl="no" Alt="yes" Shift="yes" Key="83"> <Action type="2" message="0" wParam="42024" lParam="0" sParam="" /> <Action type="2" message="0" wParam="41006" lParam="0" sParam="" /> </Macro> </Macros> <UserDefinedCommands> <Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Launch in Safari" Ctrl="yes" Alt="yes" Shift="yes" Key="70">safari &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Get php help" Ctrl="no" Alt="yes" Shift="no" Key="112">http://www.php.net/$(CURRENT_WORD)</Command> <Command name="Google Search" Ctrl="no" Alt="yes" Shift="no" Key="113">https://www.google.com/search?q=$(CURRENT_WORD)</Command> <Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command> <Command name="Open file" Ctrl="no" Alt="yes" Shift="no" Key="116">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD)</Command> <Command name="Open in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD) -nosession -multiInst</Command> <Command name="Send via Outlook" Ctrl="yes" Alt="yes" Shift="yes" Key="79">outlook /a &quot;$(FULL_CURRENT_PATH)&quot;</Command> </UserDefinedCommands> <PluginCommands /> <ScintillaKeys /> </NotepadPlus>

    Cheers
    Claudia

  • Radu LucianR

    Find and replace the 4th occurrence of string </p>

    Watching Ignoring Scheduled Pinned Locked Moved
    8 Apr 16, 2016, 3:22 PM
    Apr 15, 2016, 5:41 AM
    0 Votes
    8 Posts
    14k Views
    Radu LucianR Apr 16, 2016, 3:22 PM

    Thank you all for your help. I solved my problem with your help, I really appreciate that.

    Best Regards,
    Radu

  • D

    Notepad++ conflicting w/ windows 10: KB3147458

    Watching Ignoring Scheduled Pinned Locked Moved kb3147458 crash
    12 Apr 16, 2016, 12:43 AM
    Apr 14, 2016, 7:42 PM
    0 Votes
    12 Posts
    9k Views
    D Apr 16, 2016, 12:43 AM

    Tried it. Problem exists in the same way for a 2nd user.

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