MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / sanitiseLine

Function sanitiseLine

scintilla/include/Face.py:3–8  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

1# Module for reading and parsing Scintilla.iface file
2
3def sanitiseLine(line):
4 if line[-1:] == '\n': line = line[:-1]
5 if line.find("##") != -1:
6 line = line[:line.find("##")]
7 line = line.strip()
8 return line
9
10def decodeFunction(featureVal):
11 retType, rest = featureVal.split(" ", 1)

Callers 1

ReadFromFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected