Robin Dunn
88a8b04e9c
Updated to Scintilla 1.54
...
Applied most of patch #806092
Added new wxSTC sample from Otto Wyss
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 05:05:52 +00:00
Robin Dunn
3d7a4fe81f
Fixed SF Bug #781355 . It was a problem with the clipping region. (By
...
default when drawing the ctrl characters a different drawtext method
is called than for normal text and this one didn't take care of the
clipping region correctly.) Also fixed a couple buffer overflow
errors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 22:25:38 +00:00
Robin Dunn
215ef7ae9a
return sensible (fake) values for DBCS query methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 16:55:28 +00:00
Robin Dunn
d99859e492
Patch #775355 Unicode fix for STC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:00:16 +00:00
Robin Dunn
e14d10b039
Update to Scintilla 1.53
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 06:43:31 +00:00
Robin Dunn
88b1cfb651
Don't get picky about unicode mode. Scintilla doesn't set the mode
...
for calltip windows anyway.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 21:34:00 +00:00
Mattia Barbon
9a8ffaddeb
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 20:24:35 +00:00
Robin Dunn
9e730a7876
Updated Scintilla to 1.52 (on the trunk this time too)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 20:00:02 +00:00
Robin Dunn
895066d8c8
Scintilla uses a -1 index to unselect, we need to catch that.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-05 23:30:36 +00:00
Stefan Csomor
b9e3bdc539
make sure wxMac fonts are never AntiAliased (measuring problems would occur, because char-widths become fractional then)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:29:59 +00:00
Robin Dunn
fdec65df6d
Misc wxSTC fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 22:35:12 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Robin Dunn
a834585d74
Updated to Scintilla from 1.45 to 1.47
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:59:31 +00:00
Robin Dunn
cb1871cabf
Ensure that the wxSTC gets the focus when clicked.
...
#if'd out my wxPopupWindow meanderings and just use a simple wxListBox
for the AutoComplete window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 21:12:03 +00:00
Chris Elliott
9f79d14b31
STC and Motif patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 11:41:55 +00:00
Robin Dunn
09bb255197
fixed a comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 19:35:36 +00:00
Robin Dunn
b89f0cb06a
Fix for the TAB in the autocomplete list not being used correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 06:41:27 +00:00
Robin Dunn
c198d57c3a
Switch back to not using wxPopupWindow since wxMSW's version can't
...
handle it...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 18:36:03 +00:00
Robin Dunn
451c5cc7b9
wxSTC changes to help it work better on wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:07:48 +00:00
Robin Dunn
0f713d485b
Fixed a lost #else
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 14:37:33 +00:00
Robin Dunn
81b32ce522
wxSTC begins to work on wxMac...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:44:33 +00:00
Robin Dunn
0c5b83b0fa
Added some inline helpers so the dependence on wxUSE_UNICODE and
...
wxUSE_WCHAR_T can be localized instead of having #if's all over the
place.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 23:31:02 +00:00
Robin Dunn
267484bc4f
The use of wxPopupWindow fo rhte autocomplete and calltip windows is
...
now a little better integrated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 20:33:54 +00:00
Robin Dunn
9c46ea6647
Make it easier to not use wxPopupWindow in wxSTC, and for now, don't
...
use it at all for the AutoComplete window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 23:30:40 +00:00
Robin Dunn
26f4607d08
Ensure the caret flashes properly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 19:06:59 +00:00
Robin Dunn
10ef30eb53
wxStyledTextCtrl can now be built and used when wxUSE_UNICODE==1.
...
When in unicode mode Scintilla uses UTF-8 internally so the wxSTC
wrapper only needs to convert to/from UTF-8 in the right places.
Still need to figure out to get unicode characters from key/char
events...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 20:43:39 +00:00
Robin Dunn
1a2fb4cd61
Updated wxSTC from Scintilla 1.40 to Scintilla 1.45
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 22:31:01 +00:00
Robin Dunn
15dadf3155
Added wxCURSOR_RIGHT_ARROW, which is like the typical wxCURSOR_ARROR,
...
but points to the right, (duh...) This cursor is now used in wxSTC in
the margin area.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 22:52:15 +00:00
Robin Dunn
769a9cb2b8
The calltip window and autocomplete window in wxSTC will now use a
...
wxPopupWindow if available so they can extend beyond the client area
of the STC if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 00:40:42 +00:00
Václav Slavík
e1c6c6aede
use the new wxSystemSettings API everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:27:54 +00:00
Robin Dunn
bec17edf4e
Fixed an off-by-one error in the rectangle converter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 22:49:02 +00:00
Robin Dunn
9af175d227
Put the vertical limit back in for the AutoCOmp list box
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 17:49:06 +00:00
Robin Dunn
75cada8e68
Removed wxLB_SORT flag. Users of the Autocomplete will now have to
...
sort their lists themselves, but this lets them sort it either case
sensitive or insensitive and use AutoComp the same way.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 17:07:20 +00:00
Robin Dunn
b8b0e4022e
Updated to version 1.40 of Scintilla
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:24:58 +00:00
Robin Dunn
f3c2c22108
Another attempt to handle key events correctly for wxSTC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 05:29:09 +00:00
Robin Dunn
2beb01db00
Don't create a bitmap with dimensions <= 0...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 19:15:17 +00:00
Robin Dunn
9968ba85be
Removed font point size adjustment since wxWindows already does it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-10 21:57:26 +00:00
Robin Dunn
65ec6247df
Upgraded to version 1.39 of Scintilla, and upated wxStyledTextCtrl
...
accordingly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 03:06:33 +00:00
Robin Dunn
257ed895d5
Made a couple Number() to GetCount() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 03:27:03 +00:00
Robin Dunn
f97d84a63b
Merged some STC fixes over to the main branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 21:57:12 +00:00
Robin Dunn
d134f1702e
Moved from Scintilla version 1.25 to 1.32
...
Still more changes to be made in the wxSTC wrappers for new
functionality...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 04:06:33 +00:00
Robin Dunn
21156596eb
Fixed some off-by-one errors that were visible on wxGTK but actually
...
affected wxMSW too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 18:10:31 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Robin Dunn
88b780d9f9
Undoing Eric's changes on the main branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 17:44:48 +00:00
Eric W. Sink
64a3ee5fd2
This commit includes the following changes:
...
1. I have grabbed a new copy of the original Scintilla code from its
CVS repository on SourceForge. I believe this code corresponds to
Scintilla 1.24.
2. That code included several new files (stc/scintilla/src/Lex*.cxx)
3. I added mentions of those files to Makefile.in and the .dsp file.
4. I added a new required method to PlatWX.cpp, but it doesn't do
anything, and I don't think it needs to.
5. I added code to stc.cpp which gratuitously references all of the
lexers, to prevent them from being optimized away by the linker.
6. I modified (stc/scintilla/src/Lex*.cxx) to make the LexerModule
objects externally visible.
Gripes to me. (eric@sourcegear.com )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 18:43:38 +00:00
Robin Dunn
9ce192d417
Initial version of wxStyledTextCtrl, a Scintilla wrapper. There is
...
still LOTS and LOTS to be done, but this is already very functional.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 19:42:06 +00:00