161 Commits

Author SHA1 Message Date
besh81
36095c9190 fix disabled checkbox square
disabled checkbox square now looks like disabled textbox
In addition found an unused instruction in text_editor.cpp: could be replaced or removed (or left as it is :) )
2018-12-14 12:38:06 +01:00
Eduardo Roeder
64bd9b7491 Improve the "double click word selection" method of textbox to follow some other rules other than white space. 2018-11-03 15:43:08 -03:00
Eduardo Roeder
7651b430eb Added select_points method 2018-11-03 14:58:53 -03:00
Jinhao
81d667dbd7 using C++17 emplace return type 2018-08-27 06:51:20 +08:00
Jinhao
e1992fb0d4 fix crash when drawing in text_changed event with new line inserted(#332) 2018-08-26 16:42:53 +08:00
Jinhao
e8e7ad543c the default pool thread number is thread hw concurrency 2018-08-25 06:53:11 +08:00
Jinhao
e0ba1c7d8a disallows copying text from a masked text-editor. 2018-08-25 06:34:43 +08:00
Jinhao
fc7743cbe2 std::string_view 2018-06-09 01:21:10 +08:00
Jinhao
ffee0e5a3b std::string_view 2018-06-07 18:02:40 +08:00
Jinhao
3427181405 std::string_view 2018-06-07 03:41:08 +08:00
Jinhao
da70334459 Merge branch 'hotfix-1.5.6' into develop 2018-05-17 16:09:59 +08:00
Jinhao
4bb720a989 fix textbox highlight issue 2018-05-12 06:49:53 +08:00
Jinhao
0c7e8a8ca2 add scroll_operation_interface 2018-04-21 03:49:15 +08:00
Jinhao
eec7344c6d fix issue that typing text for spinbox doesn't draw spin buttons border 2017-09-23 07:25:16 +08:00
cnjinhao
bb47cdc6c9 fix bug that DEL key is incorrect in key_press/key_release(#259) 2017-09-22 15:47:12 +08:00
Jinhao
c45f621eea fix crash where text_editor enables the linewrap(#254) 2017-09-13 04:58:05 +08:00
Jinhao
1be4b4e667 fix bug where textbox highlight fails 2017-08-24 05:26:44 +08:00
Jinhao
c8bbf03ebf refactor 2017-08-11 22:42:27 +08:00
Jinhao
cf088ddbfb eliminate compiler warnings 2017-07-26 05:01:44 +08:00
Jinhao
6ae4b963ee code refined 2017-07-26 02:40:52 +08:00
Jinhao
27e1d7aff5 add textbox::content_origin 2017-07-25 07:57:48 +08:00
Jinhao
d53254b89a fix bug that single-line text_editor still shows scrollbar 2017-07-20 23:44:03 +08:00
Jinhao
0d99cb26dc fix bug that render incorrent when text_editor selection isn't focused 2017-07-19 08:01:19 +08:00
Jinhao
87698de126 fix a compiler error in text_editor.cpp 2017-07-16 23:30:05 +08:00
Jinhao
822a762804 fix bug that textbox::caret_pos() doesn't move the caret 2017-07-16 21:42:24 +08:00
Jinhao
a7bfc61007 fix bug that text_editor wouldn't reset scrollbar when paste 2017-07-16 11:26:28 +08:00
Jinhao
887554b1b9 fix bug that _m_paste_children wouldn't work well in refresh_tree
added contributor information
2017-07-15 11:53:06 +08:00
Oleg Smolsky
e8755e6283 Added Windows-style mouse double-click to the textbox
- the word under cursor is selected with double-click now
 - tested in both editable and read-only modes

This addresses #226.
2017-07-12 10:46:45 -07:00
Jinhao
40c35d87a0 fix compiler warnings 2017-06-22 00:11:36 +08:00
Jinhao
cbb42259bd Merge branch 'hotfix-1.5.1' into develop 2017-06-21 22:52:47 +08:00
Jinhao
b5db21567f add new methods to textbox for line count 2017-06-18 05:08:51 +08:00
Jinhao
0b4dc1904b fix compiler errors/warnings for clang 5.0 2017-06-11 11:33:52 +08:00
Jinhao
4d93c97c44 small improvement 2017-06-02 05:19:38 +08:00
Jinhao
a6c6a84147 fix crash that text_editor undo enter with selected text 2017-06-02 04:26:19 +08:00
Jinhao
a87703d418 refactor functions 2017-05-31 22:36:56 +08:00
Jinhao
5746fc33f6 fix bug of text_editor scrollbar 2017-05-30 10:43:10 +08:00
Jinhao
2f21c33392 remove deprecated code 2017-05-30 04:50:10 +08:00
Jinhao
56e7f5ea4d remove deprecated code 2017-05-27 00:40:17 +08:00
Jinhao
b3f1b259ab fix compiler error 2017-05-25 06:14:38 +08:00
Jinhao
a4f15f7bb0 refactor text_editor
fix issues that caret works incorrectly in line-wrapped mode.
2017-05-23 04:22:08 +08:00
Jinhao
138babf43c refactor text_editor 2017-05-11 01:45:34 +08:00
Jinhao
d936cc4dc6 fix issue that backspace of text_editor in line-wrapped
backspace of text_eidtor in line-wrapped may not work correctly
2017-05-11 00:55:07 +08:00
Jinhao
8d4a734272 small changes 2017-05-09 04:49:11 +08:00
Jinhao
f0e1c26502 fix issue that textbox scrollbar may not appear 2017-05-09 03:55:10 +08:00
Jinhao
f56358a397 fix text_editor content calculation 2017-04-30 16:14:01 +08:00
Jinhao
855694e8c7 fix text_editor line color issue 2017-04-30 04:32:23 +08:00
Jinhao
970412a3db coe refine 2017-04-19 04:58:20 +08:00
Jinhao
f261fa296e highlight certain lines in a textbox(#194) 2017-04-15 11:13:32 +08:00
Jinhao
6cbf721f9d improve all widgets for bground effects 2017-04-11 07:06:43 +08:00
Jinhao
a853ec4d1c fix compiler error for GCC 2017-03-30 06:32:47 +08:00