Message294547
| Author |
louielu |
| Recipients |
louielu, serhiy.storchaka, terry.reedy |
| Date |
2017年05月26日.12:44:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1495802655.34.0.429885250217.issue27115@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
We can solve this problem by two ways.
One is to add set_line_and_column() to the end of goto_line_event(), but this will make Return trigger set_line_and_column twice.
Another is to change the bind event in simpledialog from "<Return>" to "<KeyRelease-Return>" to prevent editor use the KeyRelease event. But I think this will have some backward-compatibility problem, maybe we should add a parameter to control buttonbox bind on "<Return>" or "<KeyRelease-Return>".
Then we can add set_line_and_column() to the end of the goto_line_event(), and have no problem about trigging twice. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年05月26日 12:44:15 | louielu | set | recipients:
+ louielu, terry.reedy, serhiy.storchaka |
| 2017年05月26日 12:44:15 | louielu | set | messageid: <1495802655.34.0.429885250217.issue27115@psf.upfronthosting.co.za> |
| 2017年05月26日 12:44:15 | louielu | link | issue27115 messages |
| 2017年05月26日 12:44:15 | louielu | create |
|