summaryrefslogtreecommitdiff
path: root/redo/area.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-29 17:43:54 -0400
committerPietro Gagliardi <[email protected]>2014-08-29 17:43:54 -0400
commit54efcdc5d6819d65c6ba9affb1e31482ee608bd7 (patch)
tree8d406fb288d2676476743ac5cf4698802e21008f /redo/area.go
parenta4574d582868d3e9f9c7a0dbe1545c190f30ebaf (diff)
Fixed Mac OS X Area.OpenTextFieldAt() not behaving properly. The behavior is still a little weird now, but permissible.
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 1c2141f..9849ef5 100644
--- a/redo/area.go
+++ b/redo/area.go
@@ -49,7 +49,7 @@ type Area interface {
// It panics if the coordinates fall outside the Area.
// 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
+ // The TextField will also dismiss itself on some platforms when the user "completes editing"; the exact meaning of this is platform-specific.
OpenTextFieldAt(x int, y int)
// TextFieldText and TextFieldSetText get and set the OpenTextFieldAt TextField's text, respectively.