Commit Graph

267 Commits

Author SHA1 Message Date
Christian Rocha
114db95319
Add a method for copying styles 2021-03-05 19:25:58 -05:00
Christian Rocha
5f87efafcb
Copy values when inheriting 2021-03-05 19:02:52 -05:00
Christian Rocha
a6cd289e04
Don't inherit margins and columns 2021-03-05 18:32:28 -05:00
Christian Rocha
dc10fc06a3
Remove a silly function 2021-03-05 17:58:50 -05:00
Christian Rocha
53b7cb3cdb
Rules for underlines/strikethroughs relating to spaces between words 2021-03-05 16:34:46 -05:00
Christian Rocha
60ab44f0f6
Whitespace can be stricken and underlined independently 2021-03-05 12:47:41 -05:00
Christian Rocha
4665de69d0
Rework renderer 2021-03-05 12:43:51 -05:00
Christian Rocha
62aaaf35ef
Move style setters into a separate file 2021-03-05 10:07:00 -05:00
Christian Rocha
33162550cd
Correct Style.Inherit return value 2021-03-05 10:04:58 -05:00
Christian Rocha
def6454724
Remove some redundancy, rename some functions 2021-03-04 21:07:54 -05:00
Christian Rocha
fc6780cbaf
Add unsetters 2021-03-04 21:07:20 -05:00
Christian Rocha
1fb4cae84b
Implement inheritance 2021-03-04 19:47:15 -05:00
Christian Rocha
46dd8fbcc3
Switch to a method-based API 2021-03-04 12:54:40 -05:00
Christian Rocha
5913a9b105
Actually, use sync.Once to do termenv queries 2021-03-03 19:23:52 -05:00
Christian Rocha
9b1445b6f5
go mod tidy 2021-03-03 19:00:51 -05:00
Christian Rocha
30f46c0e58
Check hasDarkBackground on init only to prevent lockups 2021-03-03 19:00:51 -05:00
Christian Rocha
5c53233775
Initial commit. Add the nuts and bolts. 2021-03-01 18:29:00 -05:00