Open Benjamin-Loison opened 4 months ago
By default xed
seems to use a monospace font, hence can just copy-paste the secret to a new tab, add a new line, type X
s until have the same length with above line and copy-paste to previous tab. Can use the following comment #issuecomment-2376695887 method on the new tab.
Once this feature is implemented could use a regex .
to replace with X
that way it would work with the whole selection. It is not complicated and would not require to restore this regex until I change last Replace with as far as I remember.
I verified all settings, even Edit > Preferences and found nothing relevant.
Related to Webscrap_any_website/issues/30.
Notepad++ has this feature but is officially only available on Windows (source: Wikipedia: Notepad++ (1250479925)).
Alternatively can use:
xclip -selection clipboard -out | sed s/./X/g | xclip -selection clipboard
that is:
paste | sed 's/./X/g' | clip
Would be nice if go back to previous window (for instance possibly by minimizing current gnome-terminal
one) and paste to replace selected string.
Alternatively can use:
```python import re MY_STRING = 'XXXX:XXXX:XXX:XXXX:XXXX:XXXX:XXXX:XXXX#53' print(re.sub('[a-f0-9]', 'X', MY_STRING)) ```It is more precise than replacing with
CENSORED
.+9
Default issue content:
``` * Xed version (xed --version) * Distribution - (Mint 17.2, Arch, Fedora 25, etc...) ``` **Issue** **Steps to reproduce** **Expected behaviour** **Other information**