Jinhao
|
27e1d7aff5
|
add textbox::content_origin
|
2017-07-25 07:57:48 +08:00 |
|
Jinhao
|
822a762804
|
fix bug that textbox::caret_pos() doesn't move the caret
|
2017-07-16 21:42:24 +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
|
b5db21567f
|
add new methods to textbox for line count
|
2017-06-18 05:08:51 +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
|
a4f15f7bb0
|
refactor text_editor
fix issues that caret works incorrectly in line-wrapped mode.
|
2017-05-23 04:22:08 +08:00 |
|
Jinhao
|
8d4a734272
|
small changes
|
2017-05-09 04:49:11 +08:00 |
|
Jinhao
|
855694e8c7
|
fix text_editor line color issue
|
2017-04-30 04:32:23 +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
|
17153b991f
|
improve text_editor
improve user experience
|
2017-03-30 03:08:36 +08:00 |
|
Jinhao
|
d34806353e
|
add support of text align to text_editor/textbox
|
2017-01-25 19:18:54 +08:00 |
|
Jinhao
|
db2cb5e8d7
|
change text_editor for reducing binary size
|
2016-11-19 04:24:03 +08:00 |
|
Jinhao
|
edc8304c22
|
Merge branch 'hotfix-1.4' of https://github.com/PeterAddy960/nana into PeterAddy960-hotfix-1.4
|
2016-10-31 06:13:41 +08:00 |
|
PeterAddy960
|
021ee1edb4
|
Added a clear undo method to the textbox to erase all previous undo actions.
Added an overload to the selected method that give back the bounds of the selection.
|
2016-10-28 00:05:56 -05:00 |
|
Jinhao
|
4b58704161
|
fix issue when textbox::reset with no parameter
|
2016-10-01 10:07:13 +08:00 |
|
Jinhao
|
340c350fcb
|
Merge branch 'hotfix-1.4' into develop
|
2016-09-24 09:58:44 +08:00 |
|
Jinhao
|
c916d0ace3
|
add textbox::set_undo_queue_length
a new method for setting the undo queue length
|
2016-09-22 08:03:30 +08:00 |
|
Jinhao
|
422f2c768b
|
add a method to textbox
a method to get bounds of a text selection
|
2016-09-12 00:01:12 +08:00 |
|
Jinhao
|
d6cb631bc2
|
add a method to show caret for the uneditable textbox
When an uneditable textbox has a caret, user can select the text and copy
it.
|
2016-09-03 07:46:43 +08:00 |
|
Jinhao
|
cf99551924
|
fix bug when an invalid pos for textbox.move_caret
|
2016-08-27 09:40:49 +08:00 |
|
Jinhao
|
b13f0a4ce5
|
fix textbox caret_pos issue
|
2016-08-27 05:23:25 +08:00 |
|
Jinhao
|
6e86b6ae6c
|
refine code
fix bug that listbox may throw std::runtime when the modal is enabled
fix bug that textbox attachs a wrong event angent
|
2016-08-10 01:46:13 +08:00 |
|
Jinhao
|
56697b331a
|
improve text_editor
|
2016-07-17 20:58:00 +08:00 |
|
Jinhao
|
8c7051566c
|
optimize binary size
|
2016-07-01 23:43:48 +08:00 |
|
Jinhao
|
880d0becf3
|
some improvements, deprecated frame widget
|
2016-06-24 00:25:26 +08:00 |
|
Jinhao
|
df68cfa3ad
|
a bool param to determines whether the caret move to end of text
|
2016-05-10 15:52:06 +08:00 |
|
Jinhao
|
c512b2dad5
|
improve window manager refresh process
|
2016-04-20 02:07:38 +08:00 |
|
Jinhao
|
116787072f
|
Merge branch 'hotfix-1.3' into develop
|
2016-04-18 15:16:03 +08:00 |
|
Jinhao
|
67431865c9
|
fix text_editor text selection issue
|
2016-04-15 22:22:40 +08:00 |
|
Jinhao
|
8ec21827a0
|
ignore warnings which are generated by -Weffc++
|
2016-03-18 22:17:13 +08:00 |
|
Jinhao
|
569eb49a5c
|
fix and improve the internal handle of focus change
enhanced textbox behavior of focus change
|
2016-02-27 02:02:29 +08:00 |
|
Jinhao
|
74690d1439
|
small modifications
|
2016-01-07 01:59:26 +08:00 |
|
Jinhao
|
a42ebe19b4
|
use UTF-8 for string representation
|
2015-12-31 01:09:52 +08:00 |
|
Jinhao
|
c260eebbc3
|
use UTF-8 for string representation
|
2015-12-15 21:46:24 +08:00 |
|
Jinhao
|
9fd1a594cb
|
add selection of text by using shift+mouse click
|
2015-11-02 00:33:22 +08:00 |
|
Jinhao
|
09b314b94c
|
change textbox event text_position_changed in favor of text_exposed
|
2015-10-23 00:51:58 +08:00 |
|
Jinhao
|
fb3b1d51d4
|
code review
|
2015-10-22 00:02:27 +08:00 |
|
Jinhao
|
5590dd293b
|
new features of listbox
text line number and line indent
|
2015-10-21 01:39:11 +08:00 |
|
Jinhao
|
aef37436b0
|
add a method to return textbox caret position
|
2015-08-05 00:33:16 +08:00 |
|
Jinhao
|
7d868f2377
|
Merge branch 'develop' of https://github.com/beru/nana into beru-develop
Conflicts:
source/gui/widgets/skeletons/text_editor.cpp
source/gui/widgets/textbox.cpp
source/paint/detail/image_bmp.hpp
source/paint/detail/image_ico.hpp
|
2015-08-01 22:08:06 +08:00 |
|
Jinhao
|
396163c1b7
|
fix mouse left button issues due to breaking changes
|
2015-07-28 00:00:15 +08:00 |
|
beru
|
2da65827a0
|
improve cursor move keys support in text editor refs refs #1
|
2015-05-05 14:13:16 +09:00 |
|
Jinhao
|
6a0fd78595
|
fix no response of Delete
|
2015-03-25 01:56:48 +08:00 |
|
Jinhao
|
9a5dfe7f88
|
fix no response of Delete key
|
2015-03-25 01:44:56 +08:00 |
|
cnjinhao
|
c5025b58a9
|
Code reviews
|
2015-01-24 08:06:02 +08:00 |
|
cnjinhao
|
02b77d2a26
|
Improve spinbox
|
2015-01-23 03:27:21 +08:00 |
|
cnjinhao
|
0597d895b4
|
gadget::arrow_16_pixels is replaced with element arrow
|
2015-01-19 17:44:18 +08:00 |
|