wangqr
51648c638b
Reallocate static ranges for wxMenuItem
...
Previously different menus may use conflict ids in range 10000~.
Fix TypesettingTools/Aegisub#53
See also Aegisub/Aegisub#131
2020-06-03 23:49:04 -04:00
wangqr
3556c9629e
Remove IME handling code for Scintilla
...
The code was for wxCocoa, which is a dead implementation of wxWidgets. wxOSX/Cocoa does not need this hack anymore. And the code is causing linking errors due to using private structures in wxCocoa.
Revert fffb138b81
2020-03-08 01:48:58 -05:00
scx
4200b85fb4
Fix crashing when picking language
...
Aegisub crashes immediately after selecting any language
from the end of the list (above the 100th position).
This is because it can support no more than 100 languages.
This patch extends this limit up to 1000 languages (locales).
Fixes Aegisub/Aegisub#131
2019-09-01 19:17:35 -04:00
wangqr
0b8b286767
Fix crash on right click due to no spell checker
2019-09-01 19:15:28 -04:00
wangqr
c4cce28766
Update README to use CMake
2019-05-08 22:49:53 -04:00
Thomas Goyne
15adac519d
Update to the new indicator API for Scintilla as 3.4 dropped the old one
2016-04-08 11:24:25 -07:00
Thomas Goyne
df8ad34838
Eliminate pointless runtime datastructures for CalltipProvider
...
And add some tests and make it actually work correctly.
2014-07-04 20:37:36 -07:00
Thomas Goyne
a084f02a2d
Fix a case where the found text would not be selected with find/replace
...
SubsTextEditCtrl::SetTextTo needs to update the selection via the text
selection controller or the text selection controller will have an
outdated cached state until the UpdateUI event is processed, which
soemtimes resulted in it not actually setting the selection when it
needed to be.
2014-07-01 20:16:17 -07:00
Thomas Goyne
4accc988b3
Make the main edit box's background color customizable
...
Closes #1042 .
Closes Aegisub/Aegisub#12 .
2014-06-27 11:15:48 -07:00
Thomas Goyne
4ce1283bbb
Fix handling of thesaurus words with only a single suggestion
...
When there's only one suggestion for a given word the part of speech
appears in the suggested replacement, which needs to be stripped.
Closes #1776 .
2014-06-23 16:40:43 -07:00
Thomas Goyne
961e6dab88
Select the last token when double-clicking past the end of the text in the edit box
2014-06-20 10:45:13 -07:00
Thomas Goyne
fffb138b81
Add IME support on OS X
...
Closes #1247 , #1672 , #1695 .
2014-06-04 14:29:37 -07:00
Thomas Goyne
060536824b
Kill ScintillaTextCtrl and just always use the UTF-8 methods
...
Trivially improves performance and reduces the opportunities for wxSTC
to fuck up.
2014-05-30 13:24:38 -07:00
Thomas Goyne
37c02ae127
Replace wxString::Format with agi::format
...
It's modestly faster, significantly more type-safe, and doesn't assert
when there's too few arguments, which causes problems for plural forms.
Closes #1733 .
2014-05-30 11:53:14 -07:00
Thomas Goyne
20a7ec786f
Use initializer lists rather than std::make_pair
2014-05-26 09:34:18 -07:00
Thomas Goyne
09e325a1c3
Clean up unused includes
2014-05-23 07:28:24 -07:00
Thomas Goyne
a376ed90b9
Insert \\N on shift-enter in the edit box
2014-05-18 07:50:23 -07:00
Thomas Goyne
432640c045
Use localized language names from ICU rather than English names
2014-05-06 17:32:10 -07:00
Thomas Goyne
50e27d8247
Shut up warning
2014-04-26 08:16:38 -07:00
Thomas Goyne
d4fbe3040d
Preserve the insertion point (but not selection) when switching between lines
2014-04-25 08:00:45 -07:00
Thomas Goyne
6fc4c8da14
Move make_unique to its own header file
...
Rebuilding the entire project after touching util.h gets old fast.
2014-04-23 15:29:23 -07:00
Thomas Goyne
ec6f14eef4
Make double-click in the edit box smarter
...
Use the syntax highlighting's word splitting to decide what to select so
that double-clicking on \Nword only selects 'word'.
2014-04-22 17:01:22 -07:00
Thomas Goyne
df42fdb2d2
Restore the text selection and cursor position on undo
2014-04-17 11:46:28 -07:00
Thomas Goyne
1d5292fdee
Kill config.h and just force-include acconf.h in non-pch builds
2014-04-16 08:11:37 -07:00
Thomas Goyne
c59b9d59b8
Clean up OptionValue
...
Make the vtables less absurdly huge (knocks 100KB off aegisub32.exe),
eliminate some copies of the values when constructing the options, and
use an enum class for the value type.
2014-03-31 10:23:36 -07:00
Thomas Goyne
33a4a056a4
Move everything up a level since the root dir no longer has stuff
2014-03-11 12:14:57 -07:00