Commit Graph

63 Commits

Author SHA1 Message Date
Roi Martin (@nibble_ds) 9f2bfa7213 Add View.Buffer() 2014-02-03 02:04:30 +01:00
Roi Martin (@nibble_ds) 4c22f4abd9 Update README.md 2014-01-28 09:36:57 +01:00
Roi Martin (@nibble_ds) 553b48c903 Fix typo in documentation. Minor fix in demo2 2014-01-27 22:50:02 +01:00
Roi Martin (@nibble_ds) 46b1452e71 Simplify demo2. Add Gui.CurrentView(). Fix keybindings 2014-01-27 22:41:58 +01:00
Roi Martin (@nibble_ds) 7cc82f809e Fix View.Word() 2014-01-23 23:42:52 +01:00
Roi Martin (@nibble_ds) f51a568142 Fix typo in view.go 2014-01-23 23:14:11 +01:00
Roi Martin (@nibble_ds) a5dd7e25de Add functions View.Line() and View.Word() 2014-01-23 23:10:13 +01:00
Roi Martin (@nibble_ds) 60c77d0e40 Refactoring of edit functions 2014-01-23 21:26:53 +01:00
Roi Martin (@nibble_ds) f9055c514a Fix deleteRune() 2014-01-23 00:46:15 +01:00
Roi Martin (@nibble_ds) 79ed19102a Add comments 2014-01-23 00:00:07 +01:00
Roi Martin (@nibble_ds) aeeaaa4951 Add LICENSE header to edit.go 2014-01-22 23:44:42 +01:00
Roi Martin (@nibble_ds) 4b396e1d8b Move edit functions to edit.go 2014-01-22 23:44:08 +01:00
Roi Martin (@nibble_ds) 55e61228f1 Return errors in writeRune, deleteRune, addLine 2014-01-22 23:06:29 +01:00
Roi Martin (@nibble_ds) 19e6c59da4 Implement basic edition 2014-01-22 22:37:53 +01:00
Roi Martin (@nibble_ds) b8c11d3134 Optimize bufferPtr (reslice) 2014-01-22 20:42:00 +01:00
Roi Martin (@nibble_ds) 8b911edb5a Add doc. Check if name is "" in Gui.SetView 2014-01-21 07:59:53 +01:00
Roi Martin (@nibble_ds) 9726137f3b Use rune ' ' for empty cells 2014-01-20 23:28:08 +01:00
Roi Martin (@nibble_ds) bae20cc034 Fix typo 2014-01-20 23:10:16 +01:00
Roi Martin (@nibble_ds) 0ae41d5e52 Editable views. Minor fix in Gui.draw()
First implementation of edit mode (overwrite)
Fix error handling in Gui.draw()
2014-01-20 23:03:28 +01:00
Roi Martin (@nibble_ds) 4fb4826188 Fix typo in view.go 2014-01-19 17:44:36 +01:00
Roi Martin (@nibble_ds) 23679ee422 Update README.md 2014-01-19 17:42:51 +01:00
Roi Martin (@nibble_ds) 9b83f88bd3 Add example to documentation 2014-01-19 17:23:11 +01:00
Roi Martin (@nibble_ds) 5dc9b75bc3 Add API documentation 2014-01-19 17:03:52 +01:00
Roi Martin (@nibble_ds) 9478f8b134 Support overlapping views 2014-01-18 13:47:08 +01:00
Roi Martin (@nibble_ds) db002da861 Refactoring. Split Views internal buffer in lines. 2014-01-18 12:31:53 +01:00
Roi Martin (@nibble_ds) 4112df7d76 Simplify API. Rename getters. 2014-01-16 23:01:53 +01:00
Roi Martin (@nibble_ds) 83687dd884 Clean up API. Show text file in demo2.go 2014-01-16 00:28:16 +01:00
Roi Martin (@nibble_ds) 8a88a69100 Add LICENSE/AUTHORS headers and files 2014-01-14 20:11:12 +01:00
Roi Martin (@nibble_ds) 04a2d598ca Rename variables for clarity 2014-01-13 20:21:49 +01:00
Roi Martin (@nibble_ds) 35b346590c Add scroll support. First approach. 2014-01-13 20:15:39 +01:00
Roi Martin (@nibble_ds) a7d5a3d2cc Handle nil keybinding CB 2014-01-11 22:34:56 +01:00
Roi Martin (@nibble_ds) cee092a9f8 Clean up API 2014-01-11 20:29:16 +01:00
Roi Martin (@nibble_ds) 21cbd1f235 Remove unnecessary Attributes 2014-01-10 20:57:35 +01:00
Roi Martin (@nibble_ds) f2e15a3795 Dispose old layout when a new one is selected. 2014-01-10 20:46:43 +01:00
Roi Martin (@nibble_ds) 47459ff2bc Minor fix 2014-01-10 20:25:37 +01:00
Roi Martin (@nibble_ds) 271ec3f2a0 Remove Gui.Start callback. Add Gui.SetLayout() 2014-01-10 20:21:54 +01:00
Roi Martin (@nibble_ds) 7c70c8be3b Implement View.Clear(). Simplify code. 2014-01-10 12:38:08 +01:00
Roi Martin (@nibble_ds) eea442c6fb Minor fix 2014-01-09 21:58:31 +01:00
Roi Martin (@nibble_ds) dba04bf839 Add highlighting 2014-01-09 21:55:23 +01:00
Roi Martin (@nibble_ds) 10769ec99c Implement view's buffer and draw 2014-01-09 20:20:14 +01:00
Roi Martin (@nibble_ds) 82ad9fa4ba Implement View.SetCursor() 2014-01-06 18:36:38 +01:00
Roi Martin (@nibble_ds) e9c0f38143 Hide cursor when Gui.ShowCursor==false 2014-01-06 13:56:28 +01:00
Roi Martin (@nibble_ds) 24b22e12d5 Minor fix in demo2.go 2014-01-06 02:29:59 +01:00
Roi Martin (@nibble_ds) 3461de8bdc Minor fix in demo2.go 2014-01-06 02:27:56 +01:00
Roi Martin (@nibble_ds) f743ba3b0c Minor fix in demo2.go 2014-01-06 02:25:08 +01:00
Roi Martin (@nibble_ds) 18bc554075 Add Gui.Start callback for initializations. Draw cursor. 2014-01-06 02:21:22 +01:00
Roi Martin (@nibble_ds) efa370bfa8 Add SetCurrentView(). Remove dupped field Gui.curview 2014-01-06 01:47:22 +01:00
Roi Martin (@nibble_ds) 425741d93e Update demos with keybindings 2014-01-06 01:23:18 +01:00
Roi Martin (@nibble_ds) 0c57f28caa Implement keybindings. Rename AddView to SetView. 2014-01-06 01:18:00 +01:00
Roi Martin (@nibble_ds) e1d8848b4d Update README 2014-01-04 03:48:48 +01:00