PeterAddy960
8e84383a7b
Added an overload to getline to allow an offset from the beginning of the line.
...
Added a clear undo method.
Added an overload to selected to get the selected bounds.
2016-10-28 00:17:59 -05:00
PeterAddy960
78c3527f10
Modified the implementation so that nana: ⌨️ :os_del is sent throght the set_accept function, so that os_del can be blocked.
...
Added overload to selected to get the selection bounds.
2016-10-28 00:10:11 -05:00
Jinhao
4b58704161
fix issue when textbox::reset with no parameter
2016-10-01 10:07:13 +08:00
Jinhao
db663a0fae
fix a compiler warning
2016-09-25 09:33:54 +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
eed3ffd5b6
Merge branch 'hotfix-1.4' into develop
2016-08-11 02:27:45 +08:00
Jinhao
ebfa079f3f
fix bug that text_editor throws an exception when undo a backspace
2016-08-11 02:15:19 +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
7229c76807
fix some compiler errors on x64
2016-07-18 04:21:05 +08:00
Jinhao
98483d3e40
fix crash in linux because of compiler bug(GCC 4.8)
2016-07-18 02:36:18 +08:00
Jinhao
56697b331a
improve text_editor
2016-07-17 20:58:00 +08:00
Jinhao
0a0fab679b
fix some issues that are detected by PVS-studio team
2016-07-14 00:41:34 +08:00
Jinhao
5d5a808b2d
remove overloading assignment operator of rectangle
2016-07-13 08:00:59 +08:00
Jinhao
8c7051566c
optimize binary size
2016-07-01 23:43:48 +08:00
Jinhao
a8219fe760
modifiable mouse wheel scroll step
2016-06-27 10:36:08 +08:00
Jinhao
4a6331e625
fix missing ~other_tag, remove some warings
2016-06-25 06:00:40 +08:00
Jinhao
880d0becf3
some improvements, deprecated frame widget
2016-06-24 00:25:26 +08:00
Jinhao
be59604a08
listbox header functions are deprecated, use column_interface
2016-06-13 06:21:58 +08:00
Jinhao
2f9056cc7a
Merge branch 'hotfix-1.3' into develop
2016-06-10 17:08:48 +08:00
Jinhao
47e7bedfcf
Merge branch 'master' of https://github.com/besh81/nana into besh81-master
2016-06-10 16:27:31 +08:00
Jinhao
108a31d907
fix an integer division by zero of text_editor issue
2016-06-05 01:28:43 +08:00
Besh81
3069d998f0
textbox and combox behaviours
...
textbox: when uneditable the caret is hide
combox: when uneditable (default)
- inherit the textbox behaviour
- open the lister clicking the textbox area also
2016-05-10 18:10:53 +02: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
3dbe94cd6c
fix a bug that text_editor undo for move text
2016-04-18 20:38:55 +08:00
Jinhao
116787072f
Merge branch 'hotfix-1.3' into develop
2016-04-18 15:16:03 +08:00
Jinhao
afa253f924
capture_window is deprecated in favor of set_capture/release_capture
2016-04-17 06:06:33 +08:00
Jinhao
67431865c9
fix text_editor text selection issue
2016-04-15 22:22:40 +08:00
Jinhao
6b6b527007
eliminate -Wextra and -pedantic warnings
2016-03-15 15:46:28 +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
325961a277
remove utf8_cast functions
2016-01-22 00:46:10 +08:00
Jinhao
13669f7591
fix a textbox line-wrap issue that only clears first line
2016-01-12 02:26:11 +08:00
Jinhao
a2a7d1fc37
remove deprecated components
2016-01-03 17:50:10 +08:00
Jinhao
a42ebe19b4
use UTF-8 for string representation
2015-12-31 01:09:52 +08:00
Jinhao
2ca11d4e25
fix compile errors under Linux
2015-12-16 01:21:44 +08:00
Jinhao
c260eebbc3
use UTF-8 for string representation
2015-12-15 21:46:24 +08:00
Jinhao
83161a3843
remove nana::is_complete
2015-11-30 01:38:15 +08:00
Jinhao
c86a00bea5
remove macro STR
2015-11-29 22:38:22 +08:00
Jinhao
a4258d3884
fix a selection text issue of text_editor with pressing shift
2015-11-16 01:20:59 +08:00
Jinhao
1e6360843e
fix input issues on Linux( #87 )
2015-11-16 00:38:03 +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
1b5aed2e5f
code reviews
2015-10-13 01:38:53 +08:00