• 1 Votes
    4 Posts
    177 Views
    Terry RT

    @Prelle said in Window loses focus a few seconds into typing after update to v8.8.3 - Windows 11:

    i don’t know that any specific window gets focus

    I did a quick check (and test). If the status bar in Windows doesn’t indicate which window is active by colouring the icon for it differently, then use the Alt + tab key once and hold the alt key down. The window which appears should show open windows. The one highlighted is now the new one, and possibly the one to the left is what was the active window before hitting the alt + tab key.

    I’ve never had the “always on top” option in use, so I don’t know what the ramifications are for it in operation.

    Terry

  • Strong Flickering

    Help wanted · · · – – – · · ·
    5
    0 Votes
    5 Posts
    165 Views
    BUILMOND interactiveB

    Alright Thanks to all of you for the Instructions,

    the Rendering Mode wasnt the Case, I Updated the Nvidia Driver and then Restarted the Laptop and Found out that My Windows did updated too through the Restart, So Weather it was the Windows update or the Nvidia Graphics Driver update,

    THE ISSUE IS FIXED :)))

    Thank You All ♥

  • 0 Votes
    2 Posts
    108 Views
    mathlete2M

    @pbarney some plugins have separate settings that are stored in their own INI files - you can find these files in %appdata%\Notepad++\plugins\config. I don’t know if the cloud feature extends to these files, but if so, it’s possible that you have to add these files to your cloud manually. If they are already there, try comparing the files on your cloud to the ones on your local machine to see what might have changed.

  • 0 Votes
    2 Posts
    101 Views
    CoisesC

    @The-Hitman:

    Exactly what you’re asking — to highlight all the text following the equals signs and then sort on that — is, to the best of my knowledge, not possible. Since the equals signs don’t line up, you’d be creating a multiple selection rather than a rectangular selection, and the sort functions don’t work on multiple selections. So even if you got your selection, you wouldn’t be able to sort it.

    However, there are ways to accomplish what you want. One thing isn’t quite clear to me: in your example, both the numbers in brackets after the capital Ms at the beginning of each line and text to the right of the equals signs are in ascending order — but presumably, if you need to sort, the text parts don’t start out in ascending order. Do you want to sort the text part of the lines only, so that the numbers stay in order and the text gets associated with different numbers? Or are the numbers supposed to move with their associated text, so that the text will be in order but the numbers will no longer be in order?

    Either way, it can be done without too much difficulty. The key step is to temporarily right-justify all the numbers, so the equals signs line up:

    M[ 97]=DM-Elysium:1 M[ 98]=DM-Enemyatthegates:2 M[ 99]=DM-EternalWinter:2 M[100]=DM-FactoryTown:3 M[101]=DM-Fastfood:1 M[102]=DM-FAT-Musashi][:2

    You can do that by creating a zero-width column selection in front of the numbers from 10 to 99 and typing a space, and similarly adding two spaces before the single digit numbers; or you can use regular expression replacement to add the blanks. (With either method, you could also add zeros instead of blanks if you like those better.)

    You might not know how to do either of those things. If you don’t, please first try reading the sections in the online manual titled Selection modes & Column Editor and Regular Expressions. (Sorry to be indirect about answering your question, but these are basic skills for using Notepad++ effectively. It is worth learning how these things work so you’ll know how to solve other problems in the future.)

    Once you have the equals signs lined up, you can create a zero-width column selection just after the equal signs and use one of the sort commands to sort the result. (If you wanted the numbers to stay in order rather than move with the associated text, just use Edit | Column Editor… to renumber after sorting.) Then use regular expression replacement to remove the unwanted blanks.

    There is an alternative method, using the Columns++ plugin which is available in the Plugins Admin. Custom sorts in Columns++ allow you to specify a regular expression which matches the sort key in each line; so, instead of manipulating the lines to line up the sort fields, you’d use an expression like =.* to identify the sort key. Unless you already have that plugin installed, this would probably be more complicated for your case than the method described above, but it is an approach that could be useful in similar but more complex cases (or for those who already use that plugin).

  • 0 Votes
    3 Posts
    66 Views
    Alex HlebnikA

    @Coises Joo! Thank you! It’s work!
    Case is closed

  • 0 Votes
    8 Posts
    2k Views
    Lycan ThropeL

    @PeterJones ,
    I have this love/hate thing when using auto correct systems (Android for example) versus autocompletion and it types a completely different word than I intended because fat fingers hit the wrong key on the mini screen keypad. :-(

  • 0 Votes
    5 Posts
    160 Views
    Lycan ThropeL

    @PeterJones ,
    This is the hardest part of doing the UDL’s I think. Even after we’ve done the original dBASE UDL you helped with, I’m finding that doing the earlier versions now, and fine-tuning the keywords, operators and the nesting precedents was the most confusing and finer control over the language. Doing the earlier versions I’ve figured out how to keep an apostrophe, from screwing up my code highlighting, while still keeping it as a delimiter by simply NOT allowing it to be included in the other delimiters nesting options. In turn, dBASE also has a JSON object, and with a little fine tuning, I was able to make the delimiters in dBASE also work to outline a JSON structure, so far. If there are other options in a JSON structure I’ll have to learn that as I go, but for now, the simple W3C version showing it, it works right, as well as the dBASE delimiters without messing things up.

    Obviously a quick UDL is possible with just the categories to put things in, but I’m finding that the real power of the UDL system is in the finer use of the mechanisms like the nesting, differentiation of forward search/backward search, prefix mode, etc works much better when combined to get a desired result. It’s actually much more powerful than I originally figured. I wish I’d had a good explanation/example like you’ve done, back then…although, with so much to include to make a UDL almost a complete language system, it would have probably been too much to absorb at the time and would not have availed me much improvement at the time. It’s something that requires a lot of trial and error and understanding of the mechanisms and time playing with it, I think, to get things just right, if it’s at all possible to do. :-)

  • 1 Votes
    36 Posts
    15k Views
    K

    I’ve experienced something similar - Notepad++ will begin to occasionally corrupt files when I try to save them to a network drive. I can tell when it’s going to happen because it will not respond “not responding” for about 5-10 seconds, then display that error message. And it corrupts the file!!! When I’m heavily coding, this happens constantly. I have to make back-up copies constantly since it WILL corrupt the files! Extremely frustrating. This has only started being a problem within the past 2 ? updates.

  • 0 Votes
    4 Posts
    257 Views
    A

    @BrenMar

    Are you using Comodo AV by any chance?

    If so, add Notepad++ to the HIPS section as an ‘allowed application’.

    I normally get a pop-up asking to do that, but for versions 8.8.3 and later this wasn’t happening.

    Hope this helps.

  • 0 Votes
    11 Posts
    242 Views
    PeterJonesP

    @Atomiser said in File Open is bugged in versions later than 8.8.2:

    was ‘HIPS’ in Comodo.

    Glad you found it

  • 0 Votes
    3 Posts
    122 Views
    Dimitris TheocharidisD

    @Alan-Kilborn nice one, yes, it can be done just to read, and to have the line number of the original file. I guess, it is the only way, but not a very convenient one, because links are lost, and it becomes absolutly manual… Thank you for answering!!!

  • 0 Votes
    3 Posts
    346 Views
    ?

    @PeterJones said in Hide horizontal line at folds?:

    editor.setElementColour(ELEMENT.FOLD_LINE, (0,0,255,255))
    where the color is (RED,GREEN,BLUE,ALPHA)

    And hiding it completely can be done by either setting the ALPHA to 0

    Yes, surprisingly this works.
    While:

    or editor.setFoldFlags(0) in PythonScript

    no, not by itself: it would leave behind a green line as if text were hidden with View/Hide Lines . As the other thread showed, that command would need to be followed by additional commands to set the Alpha of those “hidden lines’line” to 0. The full equivalent in Python would be:

    editor.setFoldFlags(0) old_col=editor.getElementColour(ELEMENT.HIDDEN_LINE ) new_col=old_col[:3]+(0,) # 0 for alpha, to hide; 255 to show editor.setElementColour(ELEMENT.HIDDEN_LINE, new_col)

    I find it puzzling that the latter solution requires further changing the "hidden lines’ line " colour, while:
    editor.setElementColour(ELEMENT.FOLD_LINE, (x,x,x,0))
    is enough by itself.
    At first I thought it’s a PythonScript behind the scenes trick, but it works in NppExec too, for example with:
    SCI_SENDMSG SCI_SETELEMENTCOLOUR SC_ELEMENT_FOLD_LINE 0x00000000
    (the relevant Alpha part is the first 2 0s , making color transparent/invisible).

  • 4 Votes
    2 Posts
    2k Views
    PeterJonesP

    @Vitalii-Dovgan ,

    PR 16928 will remove that forced fontSize, and fix other fontSize consistency problems in the model and themes.

  • Privacy policy of Notepad++

    Help wanted · · · – – – · · ·
    7
    0 Votes
    7 Posts
    241 Views
    Alan KilbornA

    I should have said that I think it is a reasonable request simply to ease this problem:

    if your boss sends you to check for privacy proof you can’t really give him anything other than “I believe it is safe”

  • 1 Votes
    3 Posts
    149 Views
    M

    @xomx said in NPPCrypt not fully decrypting text.:

    Could be. Seems to me that your file was simply out of sync somehow (common when the network is laggy or there was just a temp outage):

    To clarify the file is local to the systems I’m experiencing the issue. It’s created, open, edited, and saved here. The cloud storage is just as a backup. I’m not accessing it on a second machine.

  • Save as File Type Options

    Help wanted · · · – – – · · ·
    4
    0 Votes
    4 Posts
    141 Views
    PeterJonesP

    @joesalvati68 said in Save as File Type Options:

    @PeterJones I tried replying but not sure if it went through. I copied the above picture. My actual wndow is here.

    As the post-edit window told you (you had to hit the X to close it when replying), until you get enough “upvotes”, you will have to wait for a moderator to approve all your posts.

    Notepad++ v8.8.5 (64-bit)

    Admin mode: OFF
    Local Conf mode: OFF
    Cloud Config: C:\Users\JoeSalvati\OneDrive - Arcuity ai, Inc\Notepad++_backup

    ahh, I wouldn’t have guessed you were in Cloud Config mode. So my suggestion of %AppData%\Notepad++\langs.xml was wrong. In Cloud Config mode, it would be C:\Users\JoeSalvati\OneDrive - Arcuity ai, Inc\Notepad++_backup\langs.xml


    Plugins:
    mimeTools (3.1)
    NppConverter (4.6)
    NppExec (0.8.8)
    NppExport (0.4)
    NppMenuSearch (0.9.6)

    I am doubtful, but since i’ve never used it, the culprit might be NppMenuSearch. You could try running with that plugin disabled (if you don’t know how to run with a specific plugin disabled, see the Possible Culprit: Plugin in our FAQ).

    If disbling that plugin doesn’t fix it, then open C:\Users\JoeSalvati\OneDrive - Arcuity ai, Inc\Notepad++_backup\langs.xml, and show us the first 25 lines or so, using a screenshot like:
    0959e27c-0ea2-45fe-93d4-87e39dcbe697-image.png

    or click the </> button in your reply, and pasting the text of the first 25 lines inside the ``` … ``` section:

    <?xml version="1.0" encoding="UTF-8" ?> <NotepadPlus> <!-- The keywords of the supported languages, don't touch them! --> <!-- For languages like C/C++ substyle1..8 entries, you may enter your own keywords in those entries, to have them show up in the "Default keywords" list shown in the Style Configurator --> <Languages> <Language name="normal" ext="txt" /> <Language name="actionscript" ext="as mx" commentLine="//" commentStart="/*" commentEnd="*/"> <Keywords name="instre1">add for lt tellTarget and function ne this break ge new typeof continue gt not var delete if on void do ifFrameLoaded onClipEvent while else in or with eq le return instanceof case default switch</Keywords> <Keywords name="type1">arguments constructor class dynamic false extends implements import interface intrinsic newline null private public super static true undefined Accessibility Arguments Array Boolean Button Camera ContextMenu ContextMenuItem CustomActions Color Date Error Function Key LoadVars LocalConnection Math Microphone Mouse MovieClip MovieClipLoader NetConnection NetStream Number PrintJob Object TextField StyleSheet TextFormat TextSnapshot SharedObject Selection Sound Stage String System XML XMLNode XMLSocket Void abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan onActivity onChanged onClose onConnect onData onDragOut onDragOver onEnterFrame onID3 onKeyDown onKeyUp onKillFocus onLoad onLoadComplete onLoadError onLoadInit onLoadProgress onLoadStart onMouseDown onMouseMove onMouseUp onMouseWheel onPress onRelease onReleaseOutside onResize onRollOut onRollOver onScroller onSelect onSetFocus onSoundComplete onStatus onUnload onUpdate onXML addListener addPage addProperty addRequestHeader allowDomain allowInsecureDomain appendChild apply applyChanges asfunction attachAudio attachMovie attachSound attachVideo beginFill beginGradientFill call charAt charCodeAt clear clearInterval cloneNode close concat connect copy createElement createEmptyMovieClip createTextField createTextNode curveTo domain duplicateMovieClip endFill escape eval evaluate findText fscommand flush fromCharCode get getAscii getBeginIndex getBounds getBytesLoaded getBytesTotal getCaretIndex getCode getCount getDate getDay getDepth getEndIndex getFocus getFontList getFullYear getHours getInstanceAtDepth getLocal getMilliseconds getMinutes getMonth getNewTextFormat getNextHighestDepth getPan getProggress getProperty getRGB getSeconds getSelected getSelectedText getSize getStyle getStyleNames getSWFVersion getText getTextExtent getTextFormat getTextSnapshot getTime getTimer getTimezoneOffset getTransform getURL getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getVersion getVolume getYear globalToLocal gotoAndPlay gotoAndStop hasChildNodes hide hideBuiltInItems hitTest hitTestTextNearPos indexOf insertBefore install isActive isDown isToggled join lastIndexOf lineStyle lineTo list load loadClip loadMovie loadMovieNum loadSound loadVariables loadVariablesNum localToGlobal mbchr mblength mbord mbsubstring MMExecute moveTo nextFrame nextScene parseCSS parseFloat parseInt parseXML pause play pop prevScene print printAsBitmap printAsBitmapNum printNum push registerClass removeListener removeMovieClip removeNode removeTextField replaceSel replaceText reverse seek send sendAndLoad setBufferTime set setDate setFocus setFullYear setGain setHours setInterval setMask setMilliseconds setMinutes setMode setMonth setMotionLevel setNewTextFormat setPan setProperty setQuality setRate setRGB setSeconds setSelectColor setSelected setSelection setSilenceLevel setStyle setTextFormat setTime setTransform setUseEchoSuppression setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setVolume setYear shift show showSettings silenceLevel silenceTimeout slice sort sortOn splice split start startDrag stop stopAllSounds stopDrag substr substring swapDepths toggleHighQuality toLowerCase toString toUpperCase trace unescape uninstall unLoadClip unloadMovie unloadMovieNum unshift unwatch updateAfterEvent updateProperties useEchoSuppression valueOf watch endinitclip include initclip __proto__ _accProps _alpha _currentframe _droptarget _focusrect _framesloaded _global _height _highquality _level _lockroot _name _parent _quality _root _rotation _soundbuftime _target _totalframes _url _visible _width _x _xmouse _xscale _y _ymouse _yscale activityLevel align attributes autoSize avHardwareDisable background backgroundColor bandwidth blockIndent bold border borderColor bottomScroll bufferLenght bufferTime builtInItems bullet bytesLoaded bytesTotal callee caller capabilities caption childNodes color condenseWhite contentType currentFps customItems data deblocking docTypeDecl duration embedFonts enabled exactSettings firstChild focusEnabled font fps gain globalStyleFormat hasAccessibility hasAudio hasAudioEncoder hasEmbeddedVideo hasMP3 hasPrinting hasScreenBroadcast hasScreenPlayback hasStreamingAudio hasStreamingVideo hasVideoEncoder height hitArea hscroll html htmlText indent index italic instanceof int ignoreWhite isDebugger isFinite language lastChild leading leftMargin length loaded localFileReadDisable manufacturer maxChars maxhscroll maxscroll menu message motionLevel motionTimeout mouseWheelEnabled multiline muted name names NaN nextSibling nodeName nodeType nodeValue os parentNode password pixelAspectRatio playerType previousSibling prototype quality rate restrict resolutionX resolutionY rightMargin scaleMode screenColor screenDPI screenResolutionX screenResolutionY scroll selectable separatorBefore showMenu size smoothing status styleSheet tabChildren tabEnabled tabIndex tabStops target targetPath text textColor textHeight textWidth time trackAsMenu type underline url useCodepage useHandCursor variable version visible width wordWrap xmlDecl</Keywords> <Keywords name="substyle1" /> <Keywords name="substyle2" /> <Keywords name="substyle3" /> <Keywords name="substyle4" /> <Keywords name="substyle5" /> <Keywords name="substyle6" /> <Keywords name="substyle7" /> <Keywords name="substyle8" /> </Language> <Language name="ada" ext="ada ads adb" commentLine="--" commentStart="" commentEnd=""> <Keywords name="instre1">abort abs abstract accept access aliased all and array at begin body case constant declare delay delta digits do else elsif end entry exception exit for function generic goto if in interface is limited loop mod new not null of or others out overriding package pragma private procedure protected raise range record rem renames requeue return reverse select separate some subtype synchronized tagged task terminate then type until use when while with xor</Keywords> </Language> <Language name="asm" ext="asm" commentLine=";" commentStart="" commentEnd=""> <Keywords name="instre1">aaa aad aam aas adc add and call cbw cdqe clc cld cli cmc cmp cmps cmpsb cmpsw cwd daa das dec div esc hlt idiv imul in inc int into iret ja jae jb jbe jc jcxz je jg jge jl jle jmp jna jnae jnb jnbe jnc jne jng jnge jnl jnle jno jnp jns jnz jo jp jpe jpo js jz lahf lds lea les lods lodsb lodsw loop loope loopew loopne loopnew loopnz loopnzw loopw loopz loopzw mov movabs movs movsb movsw mul neg nop not or out pop popf push pushf rcl rcr ret retf retn rol ror sahf sal sar sbb scas scasb scasw shl shr stc std sti stos stosb stosw sub test wait xchg xlat xlatb xor bound enter ins insb insw leave outs outsb outsw popa pusha pushw arpl lar lsl sgdt sidt sldt smsw str verr verw clts lgdt lidt lldt lmsw ltr bsf bsr bt btc btr bts cdq cmpsd cwde insd iretd iretdf iretf jecxz lfs lgs lodsd loopd looped loopned loopnzd loopzd lss movsd movsx movsxd movzx outsd popad popfd pushad pushd pushfd scasd seta setae setb setbe setc sete setg setge setl setle setna setnae setnb setnbe setnc setne setng setnge setnl setnle setno setnp setns setnz seto setp setpe setpo sets setz shld shrd stosd bswap cmpxchg invd invlpg wbinvd xadd lock rep repe repne repnz repz cflush cpuid emms femms cmovo cmovno cmovb cmovc cmovnae cmovae cmovnb cmovnc cmove cmovz cmovne cmovnz cmovbe cmovna cmova cmovnbe cmovs cmovns cmovp cmovpe cmovnp cmovpo cmovl cmovnge cmovge cmovnl cmovle cmovng cmovg cmovnle cmpxchg486 cmpxchg8b loadall loadall286 ibts icebp int1 int3 int01 int03 iretw popaw popfw pushaw pushfw rdmsr rdpmc rdshr rdtsc rsdc rsldt rsm rsts salc smi smint smintold svdc svldt svts syscall sysenter sysexit sysret ud0 ud1 ud2 umov xbts wrmsr wrshr</Keywords> <Keywords name="instre2">f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcom fcomp fcompp fdecstp fdisi fdiv fdivp fdivr fdivrp feni ffree fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisub fisubr fld fld1 fldcw fldenv fldenvw fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnsavew fnstcw fnstenv fnstenvw fnstsw fpatan fprem fptan frndint frstor frstorw fsave fsavew fscale fsqrt fst fstcw fstenv fstenvw fstp fstsw fsub fsubp fsubr fsubrp ftst fwait fxam fxch fxtract fyl2x fyl2xp1 fsetpm fcos fldenvd fnsaved fnstenvd fprem1 frstord fsaved fsin fsincos fstenvd fucom fucomp fucompp fcomi fcomip ffreep fcmovb fcmove fcmovbe fcmovu fcmovnb fcmovne fcmovnbe fcmovnu</Keywords>
  • 0 Votes
    5 Posts
    2k Views
    PeterJonesP

    @Walter-Cook said in Using Notepad++ Together with ChatGPT for a Faster Workflow:

    Is there a preferred “Language” to use before pasting into Notepad++?

    If the Generative AI nonsense is pretending to be C++, then use Language > C > C++; if it’s pretending to be Python, then use Language > P > Python; if it’s pretending to be markdown, use Language > Markdown (preinstalled). If it’s pretending to be plain text, use Language > None (Normal Text)

    Remember, Generative AI is not thinking, and is not actually generating anything with meaning. It is just picking a long list of likely “next token” (effectively, “next word”, but not technically) based on the prompt and what it’s generated so far.

    Copying from ChatGPT or any of the AI’s interfaces seems to be pretty messy!

    Then find a better UI? There are various frontends to those “tools” which can help. (I know that Google’s AI Studio interface, for example, has a button to allow copying the underlying Markdown that their LLM produces, so something like that might be better formatted than the rendered stuff directly from the browser.)

    Admin Note: as @Alan-Kilborn said, this conversation really shouldn’t be under the “Help Wanted” category, so I am moving it to the “General Discussion”

  • Adding or dragging a menu item to the toolbar

    General Discussion
    2
    0 Votes
    2 Posts
    1k Views
    Alan KilbornA

    @Walter-Cook

    If you have a few favorites of the “Line Operations”, you could add them individually using the “Customize Toolbar” plugin.

  • 2 Votes
    4 Posts
    180 Views
    EkopalypseE

    @rdipardo

    That’s what I thought too, I was just surprised that the port didn’t have it, hence the question.

  • You've a lot of reasons to hate Notepad++

    Pinned Boycott Notepad++
    89
    5 Votes
    89 Posts
    132k Views
    Walter CookW

    @Travis-Owens231 Thank You, Travis

    It’s like boycotting the Google because you don’t like the political views of your neighbor because he delivers mail to an executive the works for Google! I can promise you, if you lived like that you would never be able to use anything.

    I guess we better start checking the political opinions of whomever is administering each server between our computers and every site we visit!

    People, Just Chill!

    Walter Cook