Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/utils #41

Merged
merged 6 commits into from
Oct 20, 2019
Merged

Feature/utils #41

merged 6 commits into from
Oct 20, 2019

Conversation

glvr182
Copy link
Member

@glvr182 glvr182 commented Sep 12, 2019

No description provided.

glvr182 and others added 4 commits September 10, 2019 17:33
 * This might be usefull for people who want to check that

See jesseduffield@e030e03

Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
 * This might be usefull for people who want to check that

See jesseduffield@77d7618

Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
 * Added a handler for tab
 * Added a handler for space
 * Added a handler for Insert
 * Added a handler for Ctrl+U
 * Added a handler for Ctrl+A
 * Added a handler for Ctrl+E
 * Defaults to EditWrite()

See jesseduffield@77d7618

Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
 * This might be useful for some projects

See jesseduffield@bac774b

Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
keybinding.go Outdated Show resolved Hide resolved
 * Added Parse() to parse a string to a keybind
 * Added ParseAll() to parse multiple strings to keybinds
 * Added MustParse() to parse a string at all costs
 * Added MustParseAll() to parse multiple strings at all costs
 * Added an example

Co-authored-by: Alex Goodman <wagoodman@gmail.com>
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
@glvr182 glvr182 self-assigned this Sep 12, 2019
@glvr182 glvr182 added the enhancement New feature or request label Sep 12, 2019
@glvr182
Copy link
Member Author

glvr182 commented Sep 12, 2019

i'll merge after reviews

Copy link

@skanehira skanehira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have some comment.

edit.go Show resolved Hide resolved
edit.go Outdated Show resolved Hide resolved
edit.go Outdated Show resolved Hide resolved
keybinding.go Show resolved Hide resolved
view.go Show resolved Hide resolved
keybinding.go Outdated Show resolved Hide resolved
keybinding.go Show resolved Hide resolved
Copy link
Member

@mjarkk mjarkk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left some comments

@mjarkk
Copy link
Member

mjarkk commented Sep 13, 2019

Also i was just thinking about something,
Currently i don't think it's possible to do CTRL + Arrow Right / Arrow Left to skip to the next word what is nowadays basic functionality of most editor / input boxes.
so wouldn't it be nice to have that too?

@jesseduffield
Copy link

@mjarkk I looked into doing that at some point but couldn't work out which key code to use, though I'm sure it's possible

gui.go Outdated Show resolved Hide resolved
Copy link

@jesseduffield jesseduffield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left some comments :)

@glvr182
Copy link
Member Author

glvr182 commented Sep 24, 2019

ping @jesseduffield @mjarkk @skanehira , I hope to get some feedback on the comments i made

 * Allows developers to add / remove keybindings from the blacklist
 * Added more precise errors
 * Made the simpleEditor simple again
 * Added some missing comments

Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
@glvr182
Copy link
Member Author

glvr182 commented Oct 12, 2019

@jesseduffield @mjarkk @skanehira all the comments have been implemented, lmk what you guys think

@glvr182 glvr182 mentioned this pull request Oct 13, 2019
Copy link

@skanehira skanehira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@glvr182 glvr182 merged commit a7ae619 into awesome-gocui:master Oct 20, 2019
@glvr182 glvr182 deleted the feature/utils branch October 20, 2019 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants