summaryrefslogtreecommitdiff
path: root/redo/area.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-22 12:53:10 -0400
committerPietro Gagliardi <[email protected]>2014-08-22 12:53:10 -0400
commit7008007edbafddb4190dbdb065ec119381d670f2 (patch)
treeaa4e63e24218a9264b98a474320a6b58add08392 /redo/area.go
parente5dd618cb559a90e81e69268b9a9665801b559c9 (diff)
Slight behavior change to Area.OpenTextFieldAt().
Diffstat (limited to 'redo/area.go')
-rw-r--r--redo/area.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/area.go b/redo/area.go
index cd7f3e1..1c2141f 100644
--- a/redo/area.go
+++ b/redo/area.go
@@ -47,7 +47,7 @@ type Area interface {
// OpenTextFieldAt opens a TextField with the top-left corner at the given coordinates of the Area.
// It panics if the coordinates fall outside the Area.
- // Any text previously in the TextField is removed.
+ // Any text previously in the TextField (be it by the user or by a call to SetTextFieldText()) is retained.
// The TextField receives the input focus so the user can type things; when the TextField loses the input focus, it hides itself and signals the event set by OnTextFieldDismissed.
// TODO escape key
OpenTextFieldAt(x int, y int)