Forum Replies Created
- AuthorPosts
spiros
ParticipantJust selecting text and pressing “[” results in text surround in one bracket from each side. In my case I need 2 on each side.
Ctrl+Shift+] simply selects string enclosed in brackets, which is not something I need.spiros
ParticipantHi, thanks. I do not want to select a string enclosed in brackets already. I want to be able to select a non-bracket string and add with one shortcut double brackets at the end and the beginning so that for example the word test when selected becomes [[test]]
September 25, 2019 at 12:20 am in reply to: Match words/phrases between delimiting characters #26206spiros
ParticipantHi David, no I did not miss it… strange.
The 1st solution mentioned here seemed to work even in older versions: https://stackoverflow.com/questions/58084119/match-strings-between-delimiting-characters
Did not test Mr KT’s solution as my version is older.Thank you very much both.
spiros
ParticipantThanks! This is what I got as output (with regular expression on):
J “‘”.replace(/‘/g,”[[“) + “verdichten″.replace(/, /g,”]],[[“) + “’″.replace(/’/g,”]]”)
J “‘”.replace(/‘/g,”[[“) + “verdichten, verstopfen″.replace(/, /g,”]],[[“) + “’″.replace(/’/g,”]]”)
J “‘”.replace(/‘/g,”[[“) + “dunkel, finster, wolkig″.replace(/, /g,”]],[[“) + “’″.replace(/’/g,”]]”)
J “‘”.replace(/‘/g,”[[“) + “fort sein, verloren sein, verloren″.replace(/, /g,”]],[[“) + “’″.replace(/’/g,”]]”)
J “‘”.replace(/‘/g,”[[“) + “von den Nymph ergriffen, verzückt, verrückt″.replace(/, /g,”]],[[“) + “’″.replace(/’/g,”]]”)
J “‘”.replace(/‘/g,”[[“) + “der sich halten kann, halten kann″.replace(/, /g,”]],[[“) + “’″.replace(/’/g,”]]”)spiros
Participant18.9.8 Tab is not assigned to anything. Its behaviour only changes when one first selects something and presses tab, as one can see from video.
spiros
ParticipantThanks, I did, but the only think it changed is the colour of the Find/Filter text areas. The menus and toolbars on top remained light colored.
spiros
ParticipantThe menus/button areas still have the light colour. Is it possible to change those to a darker one too?
July 3, 2019 at 1:11 am in reply to: On launch automatically open files that were open when last closing the program #25936spiros
ParticipantThank you!
spiros
ParticipantI had to select the text first, but still, the output is not as a one liner for each node. I.e. I want all content of each TU to be in a single line.
spiros
ParticipantHi, not sure if anyone had a chance to see why the replacement behaves in this I way, I just wanted to update that I tried the same replacements with an UltraEdit script, and it worked as expected; so I am guessing there is some sort of bug with EmEditor.
spiros
ParticipantThanks :) For some reason it did not work for me.
I tried the one below, which worked in Notepad++ (And PCRE, as ultimately I wanted to run it on a MariaDB database).(\{\{grml\n.*?\n\}\}\n)\1 \1
spiros
ParticipantYes, works great, thank you!
spiros
ParticipantI also tried using Tidy as external tool https://www.emeditor.com/text-editor-features/extensibility/external-tools/ but it seems to have the same issue, I.e. adding extra line breaks.
spiros
ParticipantThank you! Looks good and is much appreciated.
spiros
ParticipantThank you. Sorry for the late reply, I just saw it. Looks good apart from misrecognizing whole words. I.e.
This:
we’re master’s doesn’tBecomes
We’Re Master’S Doesn’TInstead of
We’re Master’s Doesn’t
By the way, the default functionality of the Convert Selection > Capitalize command, does not do that.
spiros
ParticipantThere is already a shortcut for this in Notepad++ (no option though for words that should not be capitalized)
https://superuser.com/questions/115432/converting-text-to-title-case-in-notepadApril 15, 2018 at 11:52 pm in reply to: Changes to filtered line apply to all lines in between #23033spiros
ParticipantMy usual workflow was to select some consecutive filtered lines (not full filtered text) and then apply the case change, would this still affect the non-filtered lines inbetween?
April 15, 2018 at 1:27 am in reply to: Changes to filtered line apply to all lines in between #23030spiros
ParticipantYes, but that does not make sense (it is not intuitive), only visible (filtered) text should be affected.
Thanks for the workflow, but my example was just to point out the issue, I would need to change case in pretty varied scenarios.
spiros
ParticipantI am working with a 500.000 lines file and Option 2 apparently works (in my case does not work at all, see screen) if “Word Count” plugin is active, which means… very slow performance. It was dead slow even with a 30.000 lines file.
spiros
ParticipantOption 1: Takes ages to load…
Option 2: always shows the total number of lines for FULL filespiros
ParticipantThis did it for me
^[Α-ΩΆ-ΏA-Z]
(I had to add “Ά-Ώ” so that it would get capitals with accents too)
Is there a way to show the number of lines filtered?
spiros
ParticipantThis is the way used by Notepad++
https://www.translatum.gr/forum/index.php?topic=470680.0Maybe something similar could be done?
spiros
ParticipantSuppose you have enabled “Treat CR and LF Separately” in Advanced dialog box,
Yes, that was the problem.
spiros
ParticipantTry this text:
Can you please describe
more details, and include
a sample file, so that
we can reproduce the issue?Find: \n
Replace: ,Result:
imgur.com/a/Q2bCq
Can you please describe
, more details, and include
, a sample file, so that
, we can reproduce the issue?Instead of:
Can you please describe, more details, and include, a sample file, so that, we can reproduce the issue?
spiros
ParticipantThanks, I was trying to find some indication of “Filter” on the menus, (I.e. Search) but there was none. Maybe increase discoverability of this feature?
- AuthorPosts