helper: trimming whitespace from strings
[?]
Aug 23, 2022, 10:06 PM
6K5PFF6XBFTM6CXUVVFIH4CQMCMPHTND3ICDMRMNOME5BUBF27NQCDependencies
- [2]
TGHAJBESuse line cache for drawings as well - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
PLKNHYZ4extract a function
Change contents
- edit in text.lua at line 992[2.1777][5.438]
endfunction trim(s)return s:gsub('^%s+', ''):gsub('%s+$', '')endfunction ltrim(s)return s:gsub('^%s+', '')endfunction rtrim(s)return s:gsub('%s+$', '')