6 Commits

Author SHA1 Message Date
65468bd2e5 Change TextLoader for gap buffer approach
- for CR line endings, convert all CR to LF
- for CRLF line endings, convert all CRLF to LF
2016-11-01 20:53:54 -04:00
382d155e40 add LineEndings module 2016-07-26 22:36:22 -04:00
cdae9e51ae add Span class and use it from TextLoader 2016-07-26 21:09:33 -04:00
7093560a94 Support loading files that do not end with a EOL sequence
- do not drop the last line of such files from TextLoader
- add a flag to TextLoader to indicate if the loaded file ended with a
  EOL sequence
2016-07-24 12:22:03 -04:00
89e8dc5de3 add TextLoader::get_eol_at_eof() 2016-07-24 12:06:50 -04:00
3be19dbf81 implement TextLoader tests, add TestSupport module 2016-07-16 21:28:29 -04:00