mirror of https://github.com/adamdruppe/arsd.git
focus new thing this process needs fixes
This commit is contained in:
parent
ea97a021a3
commit
39627cc5bd
|
@ -12329,6 +12329,9 @@ abstract class EditableTextWidget : EditableTextWidgetParent {
|
||||||
version(use_new_text_system)
|
version(use_new_text_system)
|
||||||
override int maxHeight() { return tdh.maxHeight; }
|
override int maxHeight() { return tdh.maxHeight; }
|
||||||
|
|
||||||
|
version(use_new_text_system)
|
||||||
|
override void focus() { if(tdh) tdh.focus(); }
|
||||||
|
|
||||||
void selectAll() {
|
void selectAll() {
|
||||||
version(win32_widgets)
|
version(win32_widgets)
|
||||||
SendMessage(hwnd, EM_SETSEL, 0, -1);
|
SendMessage(hwnd, EM_SETSEL, 0, -1);
|
||||||
|
|
Loading…
Reference in New Issue