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

    Add to AutoIt function list

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Feb 19, 2018, 2:19 AM
    Feb 17, 2018, 3:25 PM
    0 Votes
    4 Posts
    2k Views
    E Feb 19, 2018, 2:19 AM

    @Claudia-Frank @extended is not a user defined function, but a part of AutoIt language. I found langs.xml thanks to you and added it and it is working. Thanks again.

  • R

    Prefix and suffix a text entry at start of every line

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Feb 19, 2018, 1:56 AM
    Feb 17, 2018, 8:40 AM
    1 Votes
    5 Posts
    5k Views
    R Feb 19, 2018, 1:56 AM

    @Claudia-Frank
    Many thanks Claudia. Brilliant.
    Thanks for taking the time to explain this.
    In much appreciation
    Regards
    Richard

  • P

    Best way to contribute?

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 18, 2018, 8:45 PM
    Feb 17, 2018, 3:38 PM
    0 Votes
    2 Posts
    1k Views
    C Feb 18, 2018, 8:45 PM

    @proeng

    first step - read https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/CONTRIBUTING.md

    next step - take an easy issue like let’s say #4165 and do the needed code changes.
    Test, test and maybe test again if it does fix the problem. If you are convinced it is solved,
    test it again.

    Create the pull request and hope you did all you should have done ;-) (avoid magic numbers!! :-D )

    Cheers
    Claudia

  • W

    function list doesn't shows all functions in arduino file

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Feb 17, 2018, 4:04 PM
    Feb 15, 2018, 7:21 PM
    0 Votes
    3 Posts
    2k Views
    W Feb 17, 2018, 4:04 PM

    @MAPJe71, thanks for the advice, it worked! very useful info, it should be in the docs!

  • B

    Colour code nested brackets

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Feb 16, 2018, 10:53 PM
    Feb 16, 2018, 3:35 PM
    0 Votes
    4 Posts
    6k Views
    C Feb 16, 2018, 10:53 PM

    @BENielsen

    not sure if this helpful but up to 8 levels can be done with UDL (Language->define your language).
    You just need to make sure that you allow nesting for all delimiters
    and of course use different color.

    Cheers
    Claudia

  • G

    Folder within folder for html code and saving projects

    Watching Ignoring Scheduled Pinned Locked Moved create files folder as works html encoding
    2 Feb 16, 2018, 8:17 PM
    Feb 16, 2018, 7:24 PM
    0 Votes
    2 Posts
    1k Views
    C Feb 16, 2018, 8:17 PM

    Hi Gerry. It’s difficult to tell what the issue/goal is from your description, but here’s what I suggest. Determine if you can create the folder structure you want with File Explorer (aka Windows Explorer, not Internet Explorer). Can you navigate between the folders you want to use? If you can’t do those things, you may have a permission issue that was triggered by the update and you have bigger issues than N++. At that point you’ll want to find a generic Windows forum to help you troubleshoot the problem.

    If you’re only having problems with N++, come back and let us know exactly what you’re doing and how you’re doing it. "I go Save as, and when I go to create sub folder I cant " isn’t really a lot to go on. How are you creating the sub folder (right click-> New -> Folder in the Save-as dialog box?). What does it do when it “doesn’t let you”.

    How To Ask Questions The Smart Way is a really long read, but it teaches you some pretty good troubleshooting techniques and it will help prevent you from being eaten alive on forums less friendly than this one ;)

    Good Luck

  • Д

    Problem with function list

    Watching Ignoring Scheduled Pinned Locked Moved javascript
    3 Feb 16, 2018, 6:07 PM
    Feb 16, 2018, 5:23 PM
    0 Votes
    3 Posts
    1k Views
    Д Feb 16, 2018, 6:07 PM

    Thank you very much. The problem is gone now.

  • A

    compile/debug a Matlab script

    Watching Ignoring Scheduled Pinned Locked Moved matlab debug compile
    1 Feb 15, 2018, 10:02 PM
    Feb 15, 2018, 10:02 PM
    0 Votes
    1 Posts
    865 Views
    No one has replied
  • D

    Splitting a text file into multiple text files at every blank line

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Feb 15, 2018, 6:46 PM
    Feb 8, 2018, 9:47 PM
    0 Votes
    3 Posts
    10k Views
    S Feb 15, 2018, 6:46 PM

    @Davey-Clarke

    I don’t know if you are using 32-bit Notepad++ or the Pythonscript plugin, but if you’re willing to do both then the following script will do the job. When run while the desired file to be split (e.g., …\myfile.txt) is active, it will produce 2+ related files containing the post-split data (e.g., …\myfile_1.txt, …\myfile_2.txt, etc).

    I named this script SplitCurrentFileByBlankLine.py:

    import os import math def SCFBBL__main(): pathname = notepad.getCurrentFilename() if pathname.lower().startswith('new '): return # must have a real file on disk #line_delim_regex = r'^\h*\R' # match truly empty lines OR lines containing only whitespace line_delim_regex = r'^\R' # match truly empty lines ONLY match_span_tuple_list = [] def match_found(m): if m.start(1) != -1: # delimiter starts the file, followed by non-delimiter data, plus another delimiter (will get at most one match of this type) match_span_tuple_list.append(m.span(1)) elif m.start(4) != -1: # mid-file data plus delimiter (most matches will be of this type) match_span_tuple_list.append(m.span(4)) elif m.start(7) != -1: # end of file where no delimiter follows data (will get at most one match of this type) match_span_tuple_list.append(m.span(7)) editor.research(r'(?s)(?:(?:{D})+(?<g1>.+?)(?<g2>(?<g3>{D})+))' \ '|' \ '(?:(?<g4>.+?)(?<g5>(?<g6>{D})+))' \ '|' \ '(?<g7>.+?\z)'.format(D=line_delim_regex), match_found) num_files_to_create = len(match_span_tuple_list) if num_files_to_create < 2: return # no need to split anything if num_files_to_create > 10: # warn user if large # of files is going to be created answer = notepad.messageBox('There will be {} files created.\r\n\r\nCONTINUE ?'.format(num_files_to_create), '', MESSAGEBOXFLAGS.YESNO | MESSAGEBOXFLAGS.DEFBUTTON2) if answer != MESSAGEBOXFLAGS.RESULTYES: return (path_part, file_part) = pathname.rsplit(os.sep, 1) file_without_dot_ext = file_part; ext_wo_dot = '' try: (file_without_dot_ext, ext_wo_dot) = file_part.rsplit('.', 1) except ValueError: pass num_digits = int(math.log(num_files_to_create, 10)) + 1 out_file_path_str_format = '{base}_{{:0{d}}}'.format(base=file_without_dot_ext, d=num_digits) if len(ext_wo_dot) > 0: out_file_path_str_format += '.' + ext_wo_dot out_file_path_str_format = path_part + os.sep + out_file_path_str_format for (index, (match_start_pos, match_end_pos)) in enumerate(match_span_tuple_list): with open(out_file_path_str_format.format(index), 'wb') as f: f.write(editor.getTextRange(match_start_pos, match_end_pos)) SCFBBL__main()
  • A

    how to see what is opened tag on a large file

    Watching Ignoring Scheduled Pinned Locked Moved open tag check
    1 Feb 15, 2018, 3:11 PM
    Feb 15, 2018, 3:11 PM
    0 Votes
    1 Posts
    755 Views
    No one has replied
  • Stefano FratoniS

    THERE IS A PLUGIN THAT LOCK OPEN FILES?

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Feb 15, 2018, 9:08 AM
    Feb 13, 2018, 2:11 PM
    0 Votes
    6 Posts
    4k Views
    Stefano FratoniS Feb 15, 2018, 9:08 AM

    you fully understood the problem.

    this is a description of the problem:
    suppose I open a file (available on the net) with the notepad, another user who opens the same file but with another software (for example Ultraedit or Vim) must not be able to modify it.

    I hope I explained myself

  • Serena RiponS

    How do I make this file readable?

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Feb 15, 2018, 3:43 AM
    Feb 15, 2018, 3:43 AM
    0 Votes
    1 Posts
    996 Views
    No one has replied
  • Marcelo CastroM

    Select every found text

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Feb 15, 2018, 3:13 AM
    Feb 14, 2018, 10:51 PM
    0 Votes
    3 Posts
    1k Views
    S Feb 15, 2018, 3:13 AM

    @Marcelo-Castro

    Unfortunately there is no direct way to copy redmarked text, nor in general copying any non-whole line result from a search (whole-lines can be copied by bookmarking while marking, then there is a command to copy bookmarked lines).

    So you can take @MAPJe71 's suggestion…make a copy of your file (if needed) and then remove the text (via Find something and Replace with nothing) you don’t want and keep the text you do want.

    There are some other ways to copy redmarked text; this thread discusses some of them: https://notepad-plus-plus.org/community/topic/12710/marked-text-manipulation

  • Aaron BlankA

    Notepad++ keeps updating to 7.5.4 but updates are off

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Feb 14, 2018, 2:17 PM
    Feb 14, 2018, 1:40 PM
    0 Votes
    3 Posts
    3k Views
    PeterJonesP Feb 14, 2018, 2:17 PM

    Strange.

    When you disable Settings > Preferences > MISC > ☐ Enable Notepad++ Auto-updater, then exit and reload Notepad++, is it still disabled? If you open %AppData%\Notepad++\config.xml (or, if you are using local config, then your c:\program files (x86)\notepad++\ directory, or wherever you installed notepad++), there should be a line that says something like:

    <GUIConfig name="noUpdate" intervalDays="15" nextUpdateDate="20180227">yes</GUIConfig>

    If it says “yes”, then it should be doing “noUpdate”, so it shouldn’t be auto-updating. If it says “no”, then it should be doing the update. (reverse logic in the config.xml compared to the state of the toggle switch in the preferences)

    If all the copies of config.xml say “yes” to noUpdate, and if the GUI’s preferences shows the auto-updater is disabled, and it’s still trying to update, you could try to rename the gup.exe and possibly gup.xml in your c:\program files (x86)\notepad++\updater\ (or equivalent) directory

  • Berik WaylanderB

    Dropdown menu with commands?

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 13, 2018, 6:13 PM
    Feb 13, 2018, 1:17 PM
    0 Votes
    2 Posts
    1k Views
    C Feb 13, 2018, 6:13 PM

    There’s a plugin called Menu Search that might work for you. It’s available in the Plugin Manager.

  • John CouvarasJ

    Viewer on hi-res monitor

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 13, 2018, 2:05 PM
    Feb 13, 2018, 5:40 AM
    0 Votes
    2 Posts
    2k Views
    PeterJonesP Feb 13, 2018, 2:05 PM

    There have been other threads in the past on high-resolution monitors, like https://notepad-plus-plus.org/community/topic/14634/app-scaling-in-4k-resolution and https://notepad-plus-plus.org/community/topic/13528/high-resolution-monitor-issues … but those seem more focused on the interface than the text size.

    If it’s just the text size is too small, you could try changing Settings > Style Configurator > Global Styles > Default Style > Font Style > Font Size to a bigger font.

  • Stefano FratoniS

    How to launch notepad++ synchronously

    Watching Ignoring Scheduled Pinned Locked Moved synchronously how to launch
    12 Feb 13, 2018, 1:43 PM
    Feb 9, 2018, 4:05 PM
    0 Votes
    12 Posts
    6k Views
    Stefano FratoniS Feb 13, 2018, 1:43 PM

    this works.
    thank of all for the support!!

    COPY %1 .%1.swp START /wait "" NOTEPAD++ -multiInst "%1" DEL .%1.swp
  • Zucriy AmsunaZ

    Copying and pasting in a macro is broken

    Watching Ignoring Scheduled Pinned Locked Moved macro
    7 Feb 12, 2018, 4:07 AM
    Feb 9, 2018, 8:11 PM
    0 Votes
    7 Posts
    5k Views
    Zucriy AmsunaZ Feb 12, 2018, 4:07 AM

    @guy038 I did not even know those styles had names! Interesting.

    Thank you very much for your help. I’ll revert to a better–I mean older–version of Notepad++. =P

  • Kevin SternK

    Can't Change Font Size Or Style

    Watching Ignoring Scheduled Pinned Locked Moved font style font size
    5 Feb 11, 2018, 5:13 AM
    Nov 14, 2017, 4:47 PM
    0 Votes
    5 Posts
    6k Views
    KerryRuddockK Feb 11, 2018, 5:13 AM

    Sorry this post is late, but perhaps may help others.

    Under Settings->Style Configurator

    Select language: Global Styles and default style. Check your font name and size there.

  • A

    need of explanation of find and replace with option regex

    Watching Ignoring Scheduled Pinned Locked Moved
    22 Feb 9, 2018, 7:12 PM
    Jan 31, 2018, 11:09 AM
    0 Votes
    22 Posts
    10k Views
    PeterJonesP Feb 9, 2018, 7:12 PM

    The word “Header” was my invention, and not in any of @Andrea-Seyfarth’s examples, so that shouldn’t be used for a regex we suggest to her. Sorry for muddying the waters with my example file.

    I like your cleaner \h for the horizontal space (that escape sequence hadn’t yet stored in my long-term regex memory; some day, maybe even today, it will).

    Thanks for continually sharing your regex expertise with us. I’m always amazed by your expressions, and the quality of your explanations.

    Hopefully, we’ve helped Andrea in the process. :-)

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