Files
zyedidia.micro/cmd/micro
Dimitar Borislavov Tasev aa74b1233c Fix -startpos flag being ignored (#1129)
* Refactored cursor location login into a function. Fixed buffer overflow when line position is 1 more than file lines

* Fixed crash when -startpos has an invalid argument

* Adapted tests to new interface

* Fixed bug where -startpos with lines 0 and 1 would both be on the first line

* Changed Fatalf format back to digits

* Fixed issues with buffer cursor location. Added tests for new function

* ParseCursorLocation will now return an error when path doesnt contain line/col

* Fixed off-by-one line error

* Fixed tests to account for subtracting 1 from the line index
2018-06-04 12:27:27 -04:00
..
2018-01-03 21:35:03 -05:00
2018-02-09 17:36:12 +02:00
2018-02-08 14:17:58 -05:00
2017-08-07 09:47:28 -04:00
2018-01-04 17:14:51 -05:00
2018-03-02 19:50:33 -05:00
2018-01-04 17:14:51 -05:00
2017-10-02 23:44:11 -04:00
2018-01-29 16:02:15 -05:00
2017-10-01 12:42:23 -04:00
2018-01-04 22:27:09 -05:00
2018-03-30 15:59:26 -04:00
2018-03-02 19:50:33 -05:00
2018-03-09 00:39:59 -05:00
2018-05-12 21:29:02 -04:00
2018-01-04 17:14:51 -05:00
2018-05-26 10:07:53 -04:00
2018-01-22 17:32:30 -05:00
2018-03-02 19:50:33 -05:00
2016-05-29 11:02:56 -04:00
2018-04-28 17:04:33 -04:00
2018-03-02 19:50:33 -05:00