Jinhao
|
0a3fb34e09
|
use std::filesystem::path instead of std::string
|
2019-03-07 01:10:02 +08:00 |
|
dudztroyer
|
d2743bb817
|
Added "select_points" method
|
2018-11-03 14:41:27 -03:00 |
|
rbrugo
|
e08bb0bfe1
|
New textbox::getline returning an optional<string>
|
2018-07-08 12:35:14 +02:00 |
|
Jinhao
|
a9f23e2503
|
Merge branch 'develop-c++17' into develop
|
2018-06-04 02:29:55 +08:00 |
|
Jinhao
|
216cb786e7
|
various fixes
fixed compiler warnings
fixed bad overridings
fixed FreeBSD support
|
2018-05-22 14:22:58 +08:00 |
|
Jinhao
|
0c7e8a8ca2
|
add scroll_operation_interface
|
2018-04-21 03:49:15 +08:00 |
|
Jinhao
|
5f77c73aaa
|
no throw()
|
2017-12-19 03:30:38 +08:00 |
|
Mexsut
|
dcb472cb06
|
add a native wstring version textbox::append
added a textbox::append which accepts texts in std::wstring
|
2017-09-25 15:20:38 +08:00 |
|
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 |
|
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
|
74dedb9506
|
add noexcept
|
2017-06-18 10:10:30 +08:00 |
|
Jinhao
|
b5db21567f
|
add new methods to textbox for line count
|
2017-06-18 05:08:51 +08:00 |
|
Jinhao
|
f261fa296e
|
highlight certain lines in a textbox(#194)
|
2017-04-15 11:13:32 +08:00 |
|
Jinhao
|
d34806353e
|
add support of text align to text_editor/textbox
|
2017-01-25 19:18:54 +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
|
ea1edb5a4a
|
Added a clear undo method.
Added an overload to selected to get the selection bounds.
Added an overload to the getline method to allow an offset from the beginning of the line.
|
2016-10-28 00:07:33 -05: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
|
5fdaeb6f45
|
remove deprecated code
|
2016-06-10 16:04:22 +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
|
116787072f
|
Merge branch 'hotfix-1.3' into develop
|
2016-04-18 15:16:03 +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
|
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
|
e8266b5ae8
|
add native_string_type for internal use
|
2015-12-03 01:49:44 +08:00 |
|
Jinhao
|
12358a5dc0
|
change some APIs for accepting utf8
|
2015-11-27 01:54:26 +08:00 |
|
Jinhao
|
8da183cfab
|
add an abstract class scroll_interface
|
2015-10-30 07:43:42 +08:00 |
|
Jinhao
|
09b314b94c
|
change textbox event text_position_changed in favor of text_exposed
|
2015-10-23 00:51:58 +08:00 |
|
Jinhao
|
5590dd293b
|
new features of listbox
text line number and line indent
|
2015-10-21 01:39:11 +08:00 |
|
Jinhao
|
573a5bee86
|
code review
|
2015-10-07 18:01:46 +08:00 |
|
Jinhao
|
8dcd730715
|
improve dockpane caption
|
2015-09-21 23:43:00 +08:00 |
|
Jinhao
|
aef37436b0
|
add a method to return textbox caret position
|
2015-08-05 00:33:16 +08:00 |
|
Jinhao
|
f4924ef2f8
|
add throw() for some functions
|
2015-08-03 01:37:36 +08:00 |
|
qPCR4vir
|
b7cd8d00a1
|
valid doxy-comments need to begin with /**
|
2015-03-13 08:39:49 +01:00 |
|
cnjinhao
|
46f8182c50
|
add event stop_propagation
|
2015-02-01 17:12:19 +08:00 |
|
cnjinhao
|
50f4bd79ce
|
Add text_changed event for combox, spinbox and textbox
|
2015-01-31 04:17:34 +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 |
|
cnjinhao
|
5b025ccd20
|
Define widget_traits for combox/textbox/listbox
|
2015-01-16 17:03:47 +08:00 |
|
cnjinhao
|
bb49ba651c
|
New border element
|
2015-01-14 04:30:35 +08:00 |
|
cnjinhao
|
0f24250972
|
Added highlighted text support for textbox
init commit for highlighted text support
|
2015-01-07 07:33:09 +08:00 |
|
cnjinhao
|
4bc00f3517
|
Merge branch 'hotfixes' into develop
Conflicts:
include/nana/detail/linux_X11/platform_spec.hpp
source/detail/linux_X11/platform_spec.cpp
source/paint/detail/native_paint_interface.cpp
|
2015-01-02 23:54:55 +08:00 |
|
cnjinhao
|
ecbf71b7e2
|
Color Schemes
textbox.scheme().selection = color(colors::red);
Set the text selection background color
|
2014-12-28 17:16:52 +08:00 |
|
cnjinhao
|
ad7c36be3f
|
Renamed expr_color to color
|
2014-12-24 02:07:39 +08:00 |
|
cnjinhao
|
42788db077
|
Breaking changes for expr_color
expr_color is a temporary class name for new color type experiment.
|
2014-12-17 11:20:47 +08:00 |
|
cnjinhao
|
7bdf8a9f6b
|
hotfixes for 0.9
A workaround for VC2013 that matches incorrectly constructor by {}
|
2014-12-12 01:44:07 +08:00 |
|