Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 19:58

    donho on master

    [EU-FOSSA] Fix stack overflow i… (compare)

  • Jan 30 2019 23:17

    donho on master

    [EU-FOSSA] Fix stack overflow i… (compare)

  • Jan 30 2019 22:32
    batagy opened #5287
  • Jan 30 2019 20:32
    ivanmari edited #5286
  • Jan 30 2019 20:30
    ivanmari edited #5286
  • Jan 30 2019 20:10
    ivanmari opened #5286
  • Jan 30 2019 17:10
    EwoutH opened #5285
  • Jan 30 2019 14:24
    TigerxWood opened #5284
  • Jan 30 2019 14:21
    TigerxWood closed #5283
  • Jan 30 2019 14:20
    TigerxWood opened #5283
  • Jan 30 2019 12:09
    donho closed #2327
  • Jan 30 2019 09:06
    beerisgood opened #5282
  • Jan 30 2019 00:55

    donho on master

    [EU-FOSSA] Fix stack overflow i… (compare)

  • Jan 29 2019 23:05
    jasonbrown1965 edited #5281
  • Jan 29 2019 23:05
    jasonbrown1965 edited #5281
  • Jan 29 2019 23:04
    jasonbrown1965 opened #5281
  • Jan 29 2019 19:21
    wqweto opened #5280
  • Jan 29 2019 19:09
    wqweto synchronize #5273
  • Jan 29 2019 18:24
    wqweto synchronize #5273
  • Jan 29 2019 13:13
    donho closed #5205
AitGamers
@AitGamers
how i can exclude folder from search in files
WangNengZhi
@WangNengZhi
不支持Go语言语法高亮吗
rooster04
@rooster04
Hey, I am new to npp and java. I am trying to save my file as java source but it keeps switching back to a normal file extension
Anyone able to send me in the right direction?
sasumner
@sasumner
@rooster04 When you save it do you type myfile.java ? Or, are you expecting .java to be added automatically for you?
rooster04
@rooster04
@sasumner I was expecting it to be added automatically, as I selected Java source from the extension drop down
@sasumner However, I did successfully save it as "myfile.java" using the quotations. I just expected to be able to save as Java source by selecting the extension since it is there.
learner
@learner1999
Hello everyone, I would like to ask a question. If I want to set the current document language to a user-defined language, what should I do?
I saw this msg #define NPPM_SETCURRENTLANGTYPE (NPPMSG + 6)
But in enum LangType does not exist user define language
enum LangType {L_TEXT, L_PHP , L_C, L_CPP, L_CS, L_OBJC, L_JAVA, L_RC,\
               L_HTML, L_XML, L_MAKEFILE, L_PASCAL, L_BATCH, L_INI, L_ASCII, L_USER,\
               L_ASP, L_SQL, L_VB, L_JS, L_CSS, L_PERL, L_PYTHON, L_LUA, \
               L_TEX, L_FORTRAN, L_BASH, L_FLASH, L_NSIS, L_TCL, L_LISP, L_SCHEME,\
               L_ASM, L_DIFF, L_PROPS, L_PS, L_RUBY, L_SMALLTALK, L_VHDL, L_KIX, L_AU3,\
               L_CAML, L_ADA, L_VERILOG, L_MATLAB, L_HASKELL, L_INNO, L_SEARCHRESULT,\
               L_CMAKE, L_YAML, L_COBOL, L_GUI4CLI, L_D, L_POWERSHELL, L_R, L_JSP,\
               L_COFFEESCRIPT, L_JSON, L_JAVASCRIPT, L_FORTRAN_77,\
               // Don't use L_JS, use L_JAVASCRIPT instead
               // The end of enumated language type, so it should be always at the end
               L_EXTERNAL};
José Rafael Mendoza
@Mendoza_Jose_twitter
Hello everyone! I use the english keyboard in my laptop and when I need the á or é for example I used to use the Alt+160 or Alt+130, but now Perfect Keyboard changed that and é is ALT+0233. It is my understanding that it is related to character code map, but how do I change that in Perfect Keyboard? When I close PK it starts working as expected again. Do you know how to control that? Thank you.
DrRounds
@DrRounds
@Mendoza_Jose_twitter Unfortunately the keyboard mapping is not a function of Notepad++. You would need to look into getting support via the support channels for the "Perfect Keyboard" or via Windows itself.
Steve Williams
@stevewms
A while back, I could use "In Selection" in the "Find" dialog box to find a string within a piece of selected text, but ignore anything outside the selection. Since my last NotePad++ update, that has not worked. I remember that I got that capability from a plugin, but now forget where I got the plugin from for what its name was. Can anyone point me at that plugin.... at least tell me its name?
norbsy
@norbsy
Hi everyone. Bit of an odd one from a newbie. I want to place a character into certain places on a line of text in a file with thousands of lines. basically so i can turn a formatted file into a CSV file. Is this something I can do in notepad ++ ?
Mobile Leather Repairs
@mobileleather_twitter
Hi everyone. new here so hi
I want to remove a large amount of text from a large number of html filers. when selecting the text to find it only pastes in the html part. How do i select the whole paragraphs inc divs etc?
not filers 'files'
sasumner
@sasumner
@norbsy Maybe. Not enough information to go on.
@mobileleather_twitter I don't know that you gave enough information either.
norbsy
@norbsy
thanks @sasumner basically, i want to insert a character (a comma or other special character to turn it from a fixed width file to a CSV file), at certain points in a line of text (column 6, 12, 23, etc) for thousands of lines. I can show an excample later if that helps?
xylographe
@xylographe
@norbsy Perhaps, something like this,
find: ^(.{6})(.{6})(.{11})
replace: ${1},${2},${3},
Remember to select "Regular expression" Search Mode.
norbsy
@norbsy
oh, excellent. Thank you, will try it out.
norbsy
@norbsy
that worked perfectly! Thank you @xylographe
im so happy I could poop!
Heoxttaobra
@Heoxttaobra

Hi everyone, I would like to ask a question:

I have a large text like this:
ed. by B. Martin PEDERSEN ; comm. by MAKOTO Saito, Ron DUMAS, TÖMÖRKÉNY István

and I need a regex for "Find & Replace" to make this:
ed. by B. Martin Pedersen ; comm. by Makoto Saito, Ron Dumas, Tömörkény István

What's important:

  1. It's not 'Proper Case', beacause Edit / Convert case to / Proper Case makes this: "Ed. By B. Martin Pedersen ; Comm. By Makoto Saito" and this is not OK for me. I want convert ONLY the UPPERCASE words to Proper Case and not to capitalize the first letter of all words.
  2. It have to work with all accented characters, because the bigger part of the text is not english. (Or at least with the ÁÉÍÓÖŐÚÜŰ chars.)

All help is greatly appreciated.

RealRaven2000
@RealRaven2000
good morning. I just made a new windows account on my wife's PC and now I no stylews in notpad++ any idea how I can add a dark style?
xylographe
@xylographe
@Heoxttaobra In theory, something like,
find: ([[:upper:]])([[:upper:]]+)
replace: ${1}\L${2}\E
Unfortunately, the \L (convert to lower case) only works for ASCII upper case.
Therefore, I would use PowerShell,
$path = (Resolve-Path -LiteralPath input.txt).ProviderPath
$text = [System.IO.File]::ReadAllText($path)
$re = New-Object regex ('\b((\p{Lu})([-\p{Lu}]+))\b', 'Compiled, CultureInvariant')
while (($m = $re.Match($text)).Success) { $text = $text.Remove($m.Groups[1].Index, $m.Groups[1].Length).Insert($m.Groups[1].Index, "$($m.Groups[2].Value)$($m.Groups[3].Value.ToLowerInvariant())") }
[System.IO.File]::WriteAllText($path, $text)
RealRaven2000
@RealRaven2000
to say it a bit better there is only a single theme: https://i.imgur.com/Fvny6Zy.png
xylographe
@xylographe
@RealRaven2000 Download NPP portable, extract the archive, and move the themes folder to %APPDATA%\Notepad++.
RealRaven2000
@RealRaven2000
@xylographe ok - or I can just copy my wife's %APPDATA%\Notepad++ to my new windows profile, right?
she has 2 folder userDefineLangs and themes which I do not have. gonna copy them over and see what happens...
... alright that wors, got my dark styles back. thanks @xylographe !!
Heoxttaobra
@Heoxttaobra
@xylographe Thanks for the quick answer! I've never used PowerShell and currently I have no time to try it, but I could made what I want with your regex code and some old fashioned Find & Replace. Thanks a lot for all your help.
BillyGamer
@blakakakakaka
is there a way to get notepad on chrome os?
DrRounds
@DrRounds
@blakakakakaka NO. Notepad++ is a Windows app only
ahmed eldabour
@AAldabor_twitter
i need help
fasignation
@fasignation
Can you edit a "Word" document using Notepad++?
william1254574
@william1254574
I want to get started on notepad++
Ive taken html on my iPhone can you guys show me the basics?
sasumner
@sasumner
We get the oddest postings here; evidence the last 3.
@fasignation It's not a great idea to do that.
dilipvaleti
@dilipvaleti
Hi I got NUL error and my file got corrupted how can I recover my data?
sasumner
@sasumner
@dilipvaleti Probably restoring from your independent backup is the only way.
dujarmq
@dujarmq
Hi, How can I add chrome to my "run" list so I can try my code ?!
sasumner
@sasumner
@dujarmq It is already available at View > View current file in > ...
sebbu2
@sebbu2
sasumner, what if the file is a script on a web server ? it should open http://localhost/file.php instead of D:\Apache24\htdocs\file.php
sasumner
@sasumner
@sebbu2 Not designed to work that way.
sebbu2
@sebbu2
:)
DrRounds
@DrRounds
@fasignation Since Notepad++ is a plain text editor, it will not work for editing "Word" document since these files are not not in a plain text format.