eeeXun
303441125b
refacotr: move hide_below to style struct
2023-02-14 15:45:51 +08:00
eeeXun
c5cdbcb99a
refactor: move module color to style
...
- rename control.go to style.go
- remove windowStyle struct, don't need it
- rename global variable style to uiStyle
2023-02-14 15:25:40 +08:00
eeeXun
34805264b3
refactor: rename go module
2023-02-11 14:23:07 +08:00
eeeXun
06fa80ef1b
style(ui): language dropdown should focus prior to translator dropdown
2023-02-08 18:02:42 +08:00
eeeXun
f9775ba89e
refactor: replace AddItem with attachItems
...
attachItems implements adding multi items & centering items
2023-01-29 11:45:01 +08:00
eeeXun
a44d329cc7
style: rename {lang,style,keyMap}Window to {lang,style,keyMap}PopOut
2023-01-29 11:28:53 +08:00
eeeXun
1115d19b7a
feat: add translatorDropDown
2023-01-27 12:24:42 +08:00
eeeXun
ed2bd312a3
refactor: make translator to an interface
2023-01-26 01:15:53 +08:00
Xun
d99585b386
feat: add definition & part of speech ( #5 )
2023-01-18 14:30:44 +08:00
eeeXun
e49639fcbe
style: replace duplicated code with for-loop
2023-01-11 22:09:43 +08:00
eeeXun
10c6877230
style: rename function & reorder function call
...
- rename function `translatePageHandler` to `translateWindow`
- reorder function call in `ui.go`, let function call jointed
- change the position of comment
2023-01-11 10:49:12 +08:00
eeeXun
94ec8498ac
style(format): run goimports
2023-01-09 19:17:01 +00:00
eeeXun
ddce44395d
fix: change keyMapMenu text HighLightColor
...
Should change HighLightColor when switching colorscheme.
2022-11-04 23:34:22 +08:00
Xun
7523cec0ce
feat: copy text ( #1 )
...
* copy key with `<C-y>` `<C-g>` `<C-r>`
2022-10-26 08:18:23 +08:00
eeeXun
98d1cb3392
Initial commit
2022-10-24 23:43:20 +08:00