aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/string-utils.h
AgeCommit message (Collapse)AuthorFilesLines
2017-03-03updated copyright to 2017Robin Haberkorn1-1/+1
2016-02-10added String::toupper(): minor optimizationRobin Haberkorn1-0/+12
* This is one of the most called functions (although a cheap one), so having our own inline implementation speeds up things. Benchmarks have shown that parsing is sped up by at least 4%.
2016-01-28use String::append() instead of g_strconcat()Robin Haberkorn1-0/+4
* it has been proven to be very efficient (at least on Linux/glibc)
2016-01-28updated copyright to 2016Robin Haberkorn1-1/+1
2015-03-09fixed displaying of control characters in the "info" line (and window title)Robin Haberkorn1-0/+2
* this relied on Curses' control character drawing on Curses. However it treats tab and line feed differently than other control characters, so registers like "^Mfoo" could not be displayed properly. Even if we can configure Curses to display them correctly, we need a "canonicalized", flat form of strings for other purposes (like setting window titles. This is form is different from the formatting used for command lines which may change anyway once we introduce Scintilla mini buffers. * therefore String::canonicalize_ctl() was introduced * also set window title on PDCurses
2015-03-01moved String helper functions from sciteco.h and main.cpp to ↵Robin Haberkorn1-0/+96
string-utils.cpp and string-utils.h * also improved performance of String::append() by using g_realloc() * added String::append() variant for non-null-terminated strings