Skip to content

Instantly share code, notes, and snippets.

ClaudiaFrank

Block or report user

Report or block ClaudiaFrank

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
@ClaudiaFrank
ClaudiaFrank / RegexLexer.py
Created Aug 27, 2018
Regex based lexer - proof of concept
View RegexLexer.py
# -*- coding: utf-8 -*-
"""
RegexLexer
A regular expression based lexer
demonstrating go language syntax highlighting
Usage:
Run script to see how it works
View SearchResultLexer.py
# -*- coding: utf-8 -*-
from Npp import notepad, LEXER, editor, LANGTYPE, NOTIFICATION
import xml.etree.ElementTree as et
import os
import re
'''
(re)implements the builtin searchresult lexer
'''
View Sorter.py
# -*- coding: utf-8 -*-
from Npp import editor, notepad, MESSAGEBOXFLAGS
from collections import OrderedDict
import random
UNIDECODE_NEEDED = True # setting this to False will disable the feature
if UNIDECODE_NEEDED:
try:
You can’t perform that action at this time.