Skip to content

Instantly share code, notes, and snippets.

PeterCJ pryrt

  • Oregon
Block or report user

Report or block pryrt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pryrt
pryrt / pyscReplaceBackslashSequence.py
Created Feb 7, 2020
Notepad++ PythonScript: Replace Backslash Sequence
View pyscReplaceBackslashSequence.py
# encoding=utf-8
""" pyscReplaceBackslashSequence
When run, this script will search backwards from the current cursor position,
looking for a backslash \ . If it finds intervening whitespace (tab, space,
newline, NUL), it will abort the search. If it finds a sequence of \ to the
current cursor without whitespace interruption, it will try to interpret that
as a "shortcut sequence", and try to interpret that. It will ignore any text
after the current position, so careful placement of the cursor when running
this script will allow inserting a character in between other text
View ti-basic-udl.xml
<NotepadPlus>
<UserLang name="TI-Basic" ext="TIBAS" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00REM 00REMARK 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
You can’t perform that action at this time.