Commit Graph

1086 Commits

Author SHA1 Message Date
Zachary Yedidia
d54ccace1f Begin tab implementation 2019-01-09 20:07:18 -05:00
Zachary Yedidia
853c143696 Implement split resizing 2019-01-09 18:06:31 -05:00
Zachary Yedidia
7e80b1d0a9 Implement unsplitting 2019-01-09 16:55:00 -05:00
Zachary Yedidia
76b09a400a Add showkey 2019-01-09 15:17:51 -05:00
Zachary Yedidia
9ed9f517b1 Resizing work 2019-01-05 19:41:40 -05:00
Zachary Yedidia
e4e99b03d3 Split improvements 2019-01-05 16:27:04 -05:00
Zachary Yedidia
23f5e9c770 Fix some split bugs 2019-01-05 14:09:02 -05:00
Zachary Yedidia
5201cb71b0 Merge cursors after any event 2019-01-04 21:50:11 -05:00
Zachary Yedidia
35d111bf73 YN callbacks and better multi cursor 2019-01-04 21:48:19 -05:00
Zachary Yedidia
e101dcd55a Split improvements 2019-01-04 18:08:11 -05:00
Zachary Yedidia
8939fe169b Start working on splits 2019-01-04 17:40:56 -05:00
Zachary Yedidia
e29cae4f7f Infobar history 2019-01-03 17:07:28 -05:00
Zachary Yedidia
6fdf275b8a Complete multicursor support 2019-01-03 15:59:26 -05:00
Zachary Yedidia
a8433badca Find next and prev 2019-01-03 15:35:24 -05:00
Zachary Yedidia
e63a3c8917 Implement searching 2019-01-03 15:27:43 -05:00
Zachary Yedidia
f63c72c50d Add multi cursor support 2019-01-02 23:26:40 -05:00
Zachary Yedidia
bc7b70fefe Fix infobar prompt 2019-01-02 20:57:27 -05:00
Zachary Yedidia
8a0bd1f786 Working horizontal scrolling 2019-01-02 20:07:48 -05:00
Zachary Yedidia
49e8c293ee Fix sub bug 2019-01-02 17:48:50 -05:00
Zachary Yedidia
102e9ddb86 Add mouse support 2019-01-02 17:39:50 -05:00
Zachary Yedidia
d7955b967f Finish non global actions 2019-01-02 16:27:27 -05:00
Zachary Yedidia
0de71c1f91 Fix error 2019-01-02 16:04:41 -05:00
Zachary Yedidia
db50262286 Start implementing commands 2019-01-01 23:29:25 -05:00
Zachary Yedidia
b43c5ed3e7 Reorganize info bar 2019-01-01 22:36:12 -05:00
Zachary Yedidia
adc70af0be Minor infobar improvements 2019-01-01 17:54:29 -05:00
Zachary Yedidia
90ae39322a Infobar prompts 2018-12-31 23:47:24 -05:00
Zachary Yedidia
f79d45aafb Add infobar 2018-12-31 22:07:01 -05:00
Zachary Yedidia
367a7bbb5f More actions and view relocation 2018-12-31 16:36:54 -05:00
Zachary Yedidia
4815e9481a Add some comments 2018-12-31 14:46:04 -05:00
Zachary Yedidia
af6e95c539 Rehighlighting 2018-09-08 17:04:26 -04:00
Zachary Yedidia
cd229c1f5b Add some more actions 2018-09-03 16:54:56 -04:00
Zachary Yedidia
47c899ae46 Fix serialization 2018-08-29 20:53:40 -04:00
Zachary Yedidia
ab37901f98 Update mkinfo 2018-08-29 15:04:35 -04:00
Zachary Yedidia
d9b875f9df More actions 2018-08-28 23:30:39 -04:00
Zachary Yedidia
de6ee879f4 More actions and window organization 2018-08-28 18:44:52 -04:00
Zachary Yedidia
ec53d5deeb Synchronize screen 2018-08-28 14:24:59 -04:00
Zachary Yedidia
970bb78500 Action subpackage 2018-08-27 19:53:08 -04:00
Zachary Yedidia
64ce6eebd2 Cursor improvements 2018-08-27 17:55:28 -04:00
Zachary Yedidia
8cf9aa216a Reorganize file structure 2018-08-27 15:53:10 -04:00
Zachary Yedidia
a2a14c7e11 Start refactor 2018-08-25 23:06:44 -04:00
Zachary Yedidia
bcdab882bc Update runtime 2018-08-18 15:25:42 -07:00
supbish
905e984f29 Add "smartpaste" option; fixes #1156 2018-08-17 22:37:19 -04:00
supbish
e03fab8daa Add GetTabs Lua function 2018-08-15 11:18:27 -04:00
Camille
1ab493de59 Only show basename of file in tabs unless there are mutliple tabs with the same basename (fixes #1079) (#1081)
* Only show basename of file in tabs unless there are mutliple tabs with the same basename (fixes #1079)

* Small fix
2018-08-10 16:54:19 -04:00
Zachary Yedidia
7a013f666e Update runtime and auto-gofmt runtime in make 2018-07-02 12:22:32 -04:00
ia
76e1d7a3a7 all: gofmt
Run standard gofmt command on project root.

- go version go1.10.3 darwin/amd64

Signed-off-by: ia <isaac.ardis@gmail.com>
2018-06-17 00:41:57 +02:00
Zachary Yedidia
91b65001c9 Fix php syntax file
Fixes #1109
2018-06-04 15:13:58 -04:00
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
Dimitar Borislavov Tasev
efe343b37c Allows opening files using full path on Windows (#1126)
* Now can open Windows full-path from command line arg

Example that now works: micro.exe D:\myfile.txt

* Now correctly retrieves the path from the input path string. Except for single-letter filenames

* Fixed line/cols, need to make the code prettier

* Fixed path matching with regex by @Pariador

* Fixed not stripping the line/col args from file path

* Added tests for ParseCursorLocation
2018-06-03 17:13:03 -04:00
Maxim
71af765b4e Code optimisation (#1117)
* Making sure output files are always closed, plus hash calculation optimisation.

* Parallel hash calculation.

* Minor changes.

* Removed unnecessary memory allocations while trimming trailing whitespace.

* Buffered write.
2018-05-26 10:07:53 -04:00