Jesse Duffield
8cde0b9be5
support highlighting background of selected item
2020-05-13 21:00:02 +10:00
Jesse Duffield
7765949e1c
support case insensitive search
2020-03-09 11:10:02 +11:00
Jesse Duffield
5024a02682
add ContainsList view field to show current item index and total count in frame
2020-02-25 07:16:55 +11:00
Jesse Duffield
3e1f0f7c3e
support searching in views
2020-02-23 21:51:15 +11:00
Jesse Duffield
54fcea7731
remove mutex from escape code and add mutex to view's draw method
2020-02-14 20:07:01 +11:00
Jesse Duffield
874f1f64ad
safer reading on buffer lines
2020-01-12 13:27:28 +11:00
Jesse Duffield
b13bda3195
support setting contexts on keybindings
2019-11-16 12:39:47 +11:00
Jesse Duffield
716e2ea8b7
add ability to get selected point within a view
2019-11-10 16:37:19 +11:00
Jesse Duffield
3cf1932858
swallow some errors that don't really matter
2019-10-30 20:47:31 +11:00
Jesse Duffield
ad0cd60f29
add ViewLinesHeight function
2019-08-03 12:36:16 +10:00
Jesse Duffield
117e4fb79d
support tabs and parent views for bubbling up key presses
2019-06-29 13:29:23 +10:00
Jesse Duffield
32197598ed
support setting tab keybindings
2019-06-29 11:26:19 +10:00
Jesse Duffield
d99ac1a5a2
extend mouse events to include view frame edges
2019-06-29 10:35:26 +10:00
Jesse Duffield
e030e03fac
allow ignoring carriage returns on a view
2019-06-23 08:12:29 +10:00
Jesse Duffield
619845fffd
support tabs on views
2019-06-09 12:01:46 +10:00
Jesse Duffield
efab7b041c
reset escape interpreter on clear, and clear with a lock
2019-06-05 20:07:02 +10:00
Jesse Duffield
77d7618000
add IsTainted function
2019-05-18 20:00:17 +10:00
Jesse Duffield
9f871b6b9d
use defer rather than call unlock at end of function
2019-05-18 12:49:10 +10:00
Jesse Duffield
3cd3a41702
use mutex when writing to views to prevent out of bounds panics
2019-05-18 12:44:28 +10:00
Jesse Duffield
e70eea4359
add loader animations to views with the HasLoader bool set
2019-02-15 20:51:46 +11:00
Jesse Duffield
985c2f8d59
use go-errors package to give stack traces to new errors
2019-02-11 21:59:59 +11:00
Jesse Duffield
cfa9e452ba
don't truncate lines on wrapped views
2019-01-15 19:47:58 +11:00
Jesse Duffield
fe55a32c8a
convert tab runes to 4 spaces
2018-12-09 21:47:58 +11:00
Jesse Duffield
03e26ff3f1
use LinesHeight instead of ViewLinesHeight
2018-09-21 16:56:32 +10:00
Jesse Duffield
4fca348422
missed a couple of imports that I need to switch to my fork of termbox
2018-09-19 19:58:27 +10:00
Tommy Nguyen
9cfb2a5aad
view.go: add ViewLinesHeight()
2018-09-16 23:28:09 -04:00
Jesse Duffield
2cb6e95bbb
support subtitles on panels
2018-09-05 20:40:05 +10:00
hidaruma
5d9e836837
merged jesseduffield/gocui
2018-08-25 16:27:06 +09:00
Jesse Duffield
8cecad864f
use dimensions method rather than function
2018-08-12 11:49:26 +10:00
Jesse Duffield
b46a743016
make view dimensions accessible
2018-08-12 11:33:36 +10:00
Jesse Duffield
b8c5d2cb4c
support collapsed edges (WIP)
2018-08-05 21:44:09 +10:00
Jesse Duffield
677cd7d1d5
bold highlighted text
2018-06-05 18:43:49 +10:00
gulyasm
c055c87ae8
adds ViewBufferLines to View
2018-04-11 17:57:51 +02:00
gulyasm
2cda4f9f05
adds BufferLines func to View
2018-04-11 17:57:51 +02:00
Roi Martin
2677ad0445
Fix trailing \x00 bug in edition mode
2017-08-18 01:00:47 +02:00
Roi Martin
78f1aee25c
Set viewLines to nil on *View.Clear()
2016-11-14 21:56:17 +01:00
Roi Martin
aacdc2698f
Rewind on *View.Clear()
2016-11-14 01:12:37 +01:00
Dustin Willis Webber
ff841413b6
256 OutputMode support
2016-11-13 14:06:04 -05:00
Kobe Lipkens
d666c9f652
Visually wide character support
2016-11-05 11:46:56 +01:00
Roi Martin
aa4ac778d3
Move Editor into View. Update docs
2016-10-27 00:43:28 +02:00
Roi Martin
c0ae071931
Use *Gui.{SelFgColor,SelBgColor} to set current view's color
...
- Use *Gui.{FgColor,BgColor} to set GUI's color.
- Use *Gui.{SelFgColor,SelBgColor} to set current view's color.
- Drop *Gui.ActiveColor and *View.ActiveColor.
2016-10-18 22:49:31 +02:00
Roi Martin
463428abda
Minor refactoring. Update examples
2016-10-18 00:24:16 +02:00
Henri Koski
7779534f95
Add attribute ActiveColor to configure the color of the current view
2016-10-17 23:25:56 +02:00
Roi Martin
d822523f8c
Make golint happy. Fix typo.
2016-10-11 08:52:03 +02:00
Roi Martin
8d16527c1d
Fix edition mode when Editable = true
...
Fix issue #53
2016-10-11 07:37:42 +02:00
Roi Martin
2e62b6ba19
Respect view's default background and foreground colors
...
Fix issue #58
2016-10-03 19:38:40 +02:00
Roi Martin
a67a34cd60
Use View's default colors in View.writeRune
2016-05-23 00:16:59 +02:00
Roi Martin
40dec91023
Initial support for colored text
...
- View contents are stored as cells (rune + colors) instead of runes.
- Uses the escape interpreter coded by @deweerdt in #39 .
2016-05-23 00:16:59 +02:00
Roi Martin
0707386452
Fix #50 : highlight for wrapped lines
2016-05-17 22:40:24 +02:00
Roi Martin
7ffb37ef13
Add example for mask
2016-04-20 14:34:09 +02:00