• 0 Votes
    2 Posts
    7k Views
    Claudia FrankC

    Hello NikCs2015,

    it sounds that either the file extension is known by a lexer and does automatic coloring
    or you did some changes in styler configurator (settings menu).

    Cheers
    Claudia

  • Drag and Drop question...

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    Scott SumnerS

    This seems like a reasonable feature request.

  • Disable .NFO style

    4
    0 Votes
    4 Posts
    4k Views
    Claudia FrankC

    Hello telk5093,

    you can edit stylers.xml and langs.xml to comment nfo specific lines.
    look for the followng lines in

    stylers.xml

    <LexerType name="nfo" desc="Dos Style" ext=""> <WordsStyle name="DEFAULT" styleID="32" fgColor="2E2E2E" bgColor="FFFFFF" fontStyle="0" fontSize="10" /> </LexerType>

    langs.xml

    <Language name="nfo" ext="nfo"> </Language>

    To comment the lines you need to select it and press strg+k which results in e.g.

    <!-- <LexerType name="nfo" desc="Dos Style" ext=""> <WordsStyle name="DEFAULT" styleID="32" fgColor="2E2E2E" bgColor="FFFFFF" fontStyle="0" fontSize="10" /> </LexerType> -->

    Restart npp.

    Disadvantage, if you update npp it will overwrite your changes.

    Cheers
    Claudia

  • Instability on version V6.8.6

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • "There is no disk in the drive" start up message

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    guy038G

    Hello Alan,

    May be, the links, below, will give you some hints about it and also the solution ! If, so, give us a short report of your actions. It may be useful for some other N++ users :-)

    https://support.microsoft.com/en-us/kb/330137

    http://www.howtogeek.com/forum/topic/no-disk-in-drive

    http://www.techspot.com/community/topics/please-insert-a-disk-into-drive-device-harddisk-dr1-error-when-starting-a-program.162902/

    Best Regards,

    guy038

  • AutoComplete keywords starting with symbols (#, @, $)

    Locked
    7
    0 Votes
    7 Posts
    7k Views
    SmokeyWareS

    Hi @Claudia-Frank ,

    thanks for the help again!

    I have had trouble with the plugin manager before, but it’s no big deal as long as google is still around.
    And the Python documentation isn’t a big problem either, again google will have all the answers ;P

    I did look into Python before as i have a Raspberry Pi, but i have never really done anything with it.
    Most of the time i write simple programs in C#, getting spoiled by MSDN and Intellisense, hehe.

    Your suggestion works great tho, typing @ or # shows all entries in the api file and those from files i import in the script i’m writing.
    I only wish i could start typing in lowercase and get Properly Cased autocomplete entries. I figured that editor.autoCSetIgnoreCase(True) would do this but i might be wrong.
    Also inside the api file the ignoreCase attribute is set to ‘yes’ so it might be a scintilla or npp limitation?
    I might just have to adjust my typing style and not be so lazy ;P
    But i will try sorting the api file tho. (when i have more time)

    Considering autocompleting autoit variables (starting with $) it works ok if i leave $ out of the AdditionalWordChars, i just have to type the first character after the $ and it pops up.

    Comparing VS and npp is like comparing apples and oranges (or as we say in Holland, apples and pears) especially considering the sheer manpower behind VS.
    I didn’t mean to bash npp but i was just a bit annoyed by the trouble i had. Maybe i should have waited a bit before posting.
    Npp is great with all the features and plugins, it puts regular notepad to shame.
    Besides, writing Python in VS isn’t that much better anyway and i still have a lot to learn.

    I definitely see you can do some interesting things with the PythonScript plugin, i’ll have to look into that. And it’s documented pretty well too.
    Thanks!

    If anyone’s interested here’s the script: (fixed)

    def setEditiorOpts(args): # check if this editor already has the WordChars set if editor.getProperty("_isOptionsSet"): return # get current WordChars and append additional chars. add any character you like here, but they may not all work chars = editor.getWordChars() + "@#" # set new WordChars editor.setWordChars(chars) # set a flag in this editor instance to prevent future calls editor.setProperty("_isOptionsSet", True) # manually call because callback will not be run upon start setEditiorOpts({"bufferID": notepad.getCurrentBufferID()}) # register callback to be called whenever the current window changes notepad.callback(setEditiorOpts, [NOTIFICATION.BUFFERACTIVATED])

    (the forum doesn’t want to format the comments properly anymore?)

    It’s possible to detect the current language with editor.getLexerLanguage(), it returns the current language as a string.
    Or maybe you can use NOTIFICATION.LANGCHANGED instead of NOTIFICATION.BUFFERACTIVATED, but i haven’t looked into that.

    Happy Holidays!

  • NodeBB: Why can't I create a separate account?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • ShellExecute failed(2): Is this command correct?

    Locked
    3
    1 Votes
    3 Posts
    6k Views
    James DriskellJ

    Thanks for the insight. I usually run everything as “Administrator” but apparently Notepad++ doesn’t work this way. Unchecked the attribute and now it’s working.

    Jim Driskell

  • Reload file issues

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Matt SM

    The behavior I am looking for can be found by “update silently”. However I still want to receive the yes/no box to reload. This is especially true for large files.

  • Lines missing in edited file ---- but only in Notepad++

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    Arizona WillieA

    No I hadn’t hid the lines … it was the first time I used the program.

    No plugins or extras that I’m aware of.

    I went where you indicated and clicked Hide Lines a couple of times and I think on the third time the lines that were hidden came back.

    Thank you very much. Very helpful.

    This program needs a college course on how to run it there is so much in it.

    Way more than I was expecting.

    Notepad++ was mentioned in a game forum and I decided to try it.

    Somehow I had missed the Hide Lines option in the View menu. Probably just going too fast.
    I have a habit of that, I’m afraid.

    All the features are impressive.

    Thanks again.

  • Styles messed up!

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    Looks it was just reported.

  • N++ Save Personalisation / Customisation

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Jim DaileyJ

    @Owd-Larrd or Johnny B., if you prefer. :-)

    I also update the way Claudia mentions. I think it may be the only effective method.

  • Is there a quick way to paste big text to the right?

    14
    0 Votes
    14 Posts
    8k Views
    Claudia FrankC

    Hi guy038,

    beautiful. So I don’t play spider solitare anymore
    but will watch burning cake :-D

    Cheers
    Claudia

  • Can't use search/replace against a .csv to create one long string

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hi Jeff Taylor,

    using the replace dialog.
    Set Extended in Search Mode
    Find what: \r\n
    and leave Replace with empty
    press Replace All
    Done

    Cheers
    Claudia

  • Where to change this background color?

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    Peter BrandP

    There are two settings being applied there
    In Preferences you can select what gets highlighted or not:

    under Editing, “Enable current line highlighting” (that controls the yellowish background) under MISC in the “Highlight Matching Tags” panel, the “Enable” checkbox (controls the purple background on the table tag)

    Change the colors in Style config, Global Styles, change background color for

    “Current line background” “Tags Match highlight”
  • File endings

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello Chris Harris,

    this shouldn’t be a problem with newest npp (version 6.8.7).

    Cheers
    Claudia

  • Why I can´t write symbol { in notepad ?

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    Hi Radek,

    I assume that the curly bracket is shown when using another editor (like ms notepad), correct?
    If so, can you start notepad++ using noPlugin switch to see if a plugin causes this?
    Did you change styles and fonts?
    Can you download one of the zipped npps from here and
    retest it?

    Cheers
    Claudia

  • Need help about encoding UTF-8 without BOM

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    guy038G

    Hello lala lolo,

    BTW, this introduction sounds quite well, to my ears :-))

    Well, starting with the 6.8.1 N++ version, the UNICODE entries, of the Encoding menu, have been slightly changed !

    The Encode in / Convert to UTF-8 without BOM entry is changed into Encode in / Convert to UTF-8

    The Encode in / Convert to UTF-8 entry is changed into Encode in / Convert to UTF-8 BOM

    The Encode in / Convert to UCS-2 Big Endian entry is changed into Encode in / Convert to UCS-2 BE BOM

    The Encode in / Convert to UCS-2 Little Endian entry is changed into Encode in / Convert to UCS-2 LE BOM

    However, theirs functionalities are quite identical !

    Best Regards,

    guy038

  • Opening multiple file as a group

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    Chris JohnsonC

    on the view menu there is a projects option. You can group files into projects and IIRC open all project files in one go.

    Or you can open your files and use the “save session” and then later use “load session” from the file menu

  • Powershell 2.0+ <# #> comments not supported?

    4
    0 Votes
    4 Posts
    4k Views
    dailD

    @Jksdf-Fdhgfdh Pull request has been merged, so it will be in the next release.