• REQUEST: Value of character in status line

    9
    0 Votes
    9 Posts
    1k Views
    Blafulous CrassleyB

    Thank you @guy038 that is very helpful! Since I got into the print industry I learned a lot about all the various dashes and spaces, and even non-breaking spaces.

    I will very likely be unable to install PythonScript to get that character value since I’m on a multi-user machine I don’t have permissions to install it in c:\program files (x86)\ or any variant thereof. Plus we are super busy right now.

  • DIRECTORY already exists. Do you want to replace it?

    7
    0 Votes
    7 Posts
    801 Views
    Ephrim KhongE

    @Ekopalypse Yes, that fixed it, thank you!

    Switching to the “new” dialog solves that issue and seems to use the system-wide Save As… dialog.

  • 0 Votes
    5 Posts
    2k Views
    Taz ManianT

    Thank you for your response. It looks like I lost the file at this point. I tried Recuva but it doesn’t even recognize the file.

  • Mixed fonts (English & tamil (Akarathi)) copying issue

    2
    0 Votes
    2 Posts
    557 Views
    EkopalypseE

    @Mohideen-Pitchai

    I assume only by using/finding a font which is capable of displaying it correctly, or, if possible, by creating an UDL which sets different fonts for different parts of the text but this means there must be an start and end indicator for each text part.

  • Number total of pages

    5
    0 Votes
    5 Posts
    2k Views
    EkopalypseE

    @Stéphane-Lavergne

    you can only edit within the 180 seconds, afterwards it is locked.
    Makes sense if one reads your post later because otherwise one would read answers
    to questions which don’t match anymore as either answers or questions have been edited.

  • Trim length between two characters

    6
    0 Votes
    6 Posts
    640 Views
    guy038G

    Hello, @sean, @alan-kilborn, @steven-haymes, and All,

    I’m afraid that, in order to use the column mode, in a reliable way, we should align the comma symbols, padding preceding positions with spaces chars !

    So, this time, the regex solution seems to be more secure ;-))

    For instance, with that sample text, below :

    #,6100795442608787,1 #,205300099864,1 #,65433455333,5 #,20530002200815618844,1 #,3360,20 #,718103267854,2 #,67764334775,8

    Here is a regex S/R which deletes any non-null range of digits, after the 11th, till the second comma of each line :

    SEARCH ^#,\d{11}\K\d+(?=,)

    REPLACE Leave EMPTY

    Tick the Wrap around

    Select the Regular expression search mode

    Click, exclusively, on the Replace All button

    And, we would obtain the expected result :

    #,61007954426,1 #,20530009986,1 #,65433455333,5 #,20530002200,1 #,3360,20 #,71810326785,2 #,67764334775,8

    Best Regards,

    guy038

  • how to enlight more than word ?

    4
    0 Votes
    4 Posts
    489 Views
    jmclejJ

    Thanks for both useful answers !

  • Function list sort and reload buttons showing as black squares

    1
    0 Votes
    1 Posts
    243 Views
    No one has replied
  • Purpose of <nameExpr> in functionList.xml

    5
    1 Votes
    5 Posts
    844 Views
    rossjparkerR

    Thanks once again @guy038. Your valuable suggestions/corrections have been incorporated once again:

    <parser displayName="CiCode" id ="cicode_function" commentExpr="(?x) # free-spacing for commenting (?s:\x2F\x2A.*?\x2A\x2F) # Multi Line Comment: /* ... */ | (?m-s:\x2F{2}.*$) # Single Line Comment: // ... | (?m-s:\!.*$) # Single Line Comment: ! ... | (?s:\x22(?:[^\x22\x5C]|\x5C.)*\x22) # String Literal - Double Quoted | (?s:\x27(?:[^\x27\x5C]|\x5C.)*\x27) # String Literal - Single Quoted " > <function mainExpr="(?x) # free-spacing for commenting (?i) # ignore case FUNCTION\s+ # CiCode functions marked by keyword 'function' (any case) \K # discard everything matched so far - 'function' keyword not part of function name \w+? # function name itself (non-greedy match) \(.*?\) # function parameter list surrounded by brackets " /> </parser>

    This is my latest version of the parser with a proper commentExpr parser. (CiCode supports C-style comments with the addition of !<comment-to-end-of-line> being synonymous with //<comment-to-end-of-line>.

    One of my files does indeed have several commented functions - these are now correctly ignored. Thanks again.

  • 0 Votes
    4 Posts
    511 Views
    PeterJonesP

    @Melvin-Pereira said:

    after the mess caused by the software. … I did not have backups enabled.

    To be fair, Notepad++ offered a backup feature which you had chosen not to enable.

    The bug you encountered was fixed 9 months ago with the release of v7.5.9 – the release notes in item #2 clearly explain that it fixed file corruption in abnormal circumstances (like a crash) – and there have been all of the v7.6.* releases thru the current v7.7.1 releases, many of which have been pushed to auto-update (including v7.7.1). If you don’t avail yourself of auto-update, and don’t choose to check release notes for critical bug fixes, I’m not sure what more can be done to notify people of bugs and issues, and to encourage updating to newer versions to fix bugs.

    Is there no way, the file can be recovered?

    Historically, there have been suggestions for external file recovery software, but I can make no warranty for how well they will work in your particular case.

  • new notepad++ user, need help editing g code

    3
    0 Votes
    3 Posts
    857 Views
    Quinn RCQ

    @PeterJones said:

    M1231\r\n$0\r\nM1230

    perfect! thank you very much. I will definitely follow your links to learn to do this stuff for myself, but i very much appreciate the included answer.

  • 0 Votes
    3 Posts
    556 Views
    PeterJonesP

    @Marcel-Vossen said:

    Does anyone know what is causing this ‘unwanted feature’ and what purpose it has, and how to avoid it?

    As to why it’s happening for you: since you don’t tell us anything about your subtitle file – like if there are long lines, or indented lines – we don’t have enough to replicate your circumstances and figure out what’s causing it.

    However, my guess (and @andrecool-68 's guess, too) is it has something to do with long lines. If you’ve got a long line (wider than the screen width) which is indented, if you hit HOME (and haven’t changed your key mappings), it will take you to the first non-indent character of that line, but won’t show the characters to the left of the indent. If you hit ENTER from the end of a long line, it will auto-indent the next line to that location, and similarly won’t show the characters to the left of the indent. Using the horizontal scroll bar at the bottom of the window, or hitting HOME a second time, or hitting Alt+HOME, should all allow you to scroll all the way to the left edge of your document. Changing the word-wrap settings, as @andrecool-68 suggested, may or may not help.

    (And horizontal scroll bars and hitting HOME one or more times to get to the left edge of a line are common to most editing software I’ve used; I’m surprised you thought you had to arrow over. Make sure you add scroll bars and HOME keys to your bag of tricks for all editing software.)

  • Python syntax highlighting

    6
    0 Votes
    6 Posts
    9k Views
    Steven HaymesS

    Pete,

    Thanks for the better answer! I have not had to use this very obvious feature of the Style Configurator 🙄

    Steve

  • 0 Votes
    3 Posts
    595 Views
    dinkumoilD

    @IsRakc

    The PK header indicates that it could be a ZIP file. Rename it to *.zip and try to open it with Explorer or 7Zip.

  • Can I display the subroutine's name I'm editing?

    10
    0 Votes
    10 Posts
    1k Views
    Rick SparberR

    Ah, the highlight is very faint both in your screen print and on my monitor. How do I make it have more contrast?

    Thanks for your invaluable help.

    Rick

  • how to change the column numbering

    2
    0 Votes
    2 Posts
    558 Views
    PeterJonesP

    If you mean changing what number Notepad++ will report for the column (for example, in the status bar) when your cursor is at the 14th column: sorry, Notepad++ isn’t built that way: Row 1 Column 1 is the first character in your file, and subsequent characters and rows will increment the number seen.

  • Can I move Plugins from 7.3.3 to latest version using just a folder move

    4
    0 Votes
    4 Posts
    765 Views
    Robert LewisR

    dinkumoil, Thank you very much for the extensive explanation. I will try your script first and then as a fallback check those that do not work if any.

  • Recover files

    5
    0 Votes
    5 Posts
    504 Views
    Manju BabuM

    I have given an option to save our files in network and winodws update was done…I have reinstalled all my applications after this

  • Help with regular expressions

    3
    0 Votes
    3 Posts
    830 Views
    Jarka MetelkaJ

    Thank you.

  • Plug in will not install

    1
    0 Votes
    1 Posts
    342 Views
    No one has replied