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

Presing ctrl+v on TextEditor/TextField widget hang the app. #1323

Open
kkoreilly opened this issue Nov 18, 2024 Discussed in #1265 · 0 comments
Open

Presing ctrl+v on TextEditor/TextField widget hang the app. #1323

kkoreilly opened this issue Nov 18, 2024 Discussed in #1265 · 0 comments
Labels
bug Something isn't working correctly confirmed This bug has been confirmed
Milestone

Comments

@kkoreilly
Copy link
Member

Discussed in #1265

Originally posted by heejit October 20, 2024
this is how i create a texteditor and event handler on body for keychord ->

	this.Body.OnFirst(events.KeyChord, func (e events.Event) {
		if e.KeyChord() == "Control+S" {
			this.SaveForm()
		}
	})

	this.FormContent = texteditor.NewEditor(vFrame2)
	this.FormContent.ContextMenus = nil
	this.FormContent.Scene.ContextMenus = nil
	this.FormContent.SetTooltip("Enter your notes here")
	this.FormContent.Styler(func (s *styles.Style) {
		s.Grow.Set(1, 1)
		s.SetTextWrap(false)
	})

@kkoreilly kkoreilly added bug Something isn't working correctly confirmed This bug has been confirmed labels Nov 18, 2024
@kkoreilly kkoreilly added this to the v0.4 milestone Nov 18, 2024
@kkoreilly kkoreilly added this to Bugs Nov 18, 2024
@github-project-automation github-project-automation bot moved this to Todo in Bugs Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly confirmed This bug has been confirmed
Projects
Status: Todo
Development

No branches or pull requests

1 participant