Twan van Laarhoven
1f75175943
Cleanup: rename ValueViewer::viewer -> parent; store CardP in ValueAction
2020-05-31 16:07:13 +02:00
Twan van Laarhoven
31baa909d8
Fix #60 : Don't match keywords when the keyword is (partially) inside and <atom> tag
2020-05-29 00:46:30 +02:00
Twan van Laarhoven
c9c708dfbe
Fix #63 : don't use reference arguments in openFileInPackage
2020-05-27 22:16:48 +02:00
Twan van Laarhoven
279fdb0378
Fix #58 . Positions of the second match of a keyword were incorrectly counted from the end of the previous match instead of from the start of the string.
2020-05-27 02:12:32 +02:00
Twan van Laarhoven
f0c0b51e6c
Fix #59 , fix #61 :
...
* Now a <nospellcheck>/<sym>/<atom> anywhere within a word disables the spellchecker.
* Consider single quotes to be a part of a word, for things like "doesn't". TODO: this will do the wrong thing for text in single quotes
2020-05-26 23:37:35 +02:00
Twan van Laarhoven
dc336e20f0
Fix #57
2020-05-25 22:51:10 +02:00
Twan van Laarhoven
0da7a38eb2
add TextStyle::layout to changelog
2020-05-25 22:50:37 +02:00
Twan van Laarhoven
22a7bce749
Fix #56 : Add default values to TextStyle::layout
2020-05-25 22:34:25 +02:00
Twan van Laarhoven
221a8e99e5
Fix #55
2020-05-25 22:13:12 +02:00
Twan van Laarhoven
48dd5907e2
Fix warning
2020-05-24 22:06:24 +02:00
Twan van Laarhoven
386ddb40b9
Remove old code
2020-05-24 21:30:34 +02:00
Twan van Laarhoven
a90348a710
Remove old stuff
2020-05-24 15:27:49 +02:00
Twan van Laarhoven
e570fa8346
Disable scrollbars for dropdown lists. wxGTK doesn't support them at all, we would have to do it manually. For now disabling scrolling mostly fixes #51
2020-05-23 14:58:54 +02:00
Twan van Laarhoven
83448a1667
Fix #28 : correctly track dependencies on card_style._.content / ..layout
2020-05-23 13:57:04 +02:00
Twan van Laarhoven
d97cfce85d
Fix #50
2020-05-23 12:46:21 +02:00
Twan van Laarhoven
b2e6f03c29
--help text for script files
2020-05-23 00:20:11 +02:00
Twan van Laarhoven
4ed586ddfe
Fix crash in 64 bit build, because size_t can't be used with a %d format string
2020-05-22 19:45:18 +02:00
Twan van Laarhoven
9922e39feb
Fix locale errors
2020-05-22 19:02:31 +02:00
Twan van Laarhoven
8192bd9613
fix: don't use cannonical name form when generating choice images, use it only for indexing
2020-05-22 16:17:33 +02:00
Twan van Laarhoven
22b1c2604b
Remove reader_pragma_handler hack
2020-05-22 01:23:53 +02:00
Twan van Laarhoven
173f702ffa
Warn about missing ':' in reader
2020-05-22 01:20:48 +02:00
Twan van Laarhoven
c9c7a958ae
Add exception handlers in places where scripts are invoked. This should lead to slightly nicer error messages.
2020-05-22 00:30:18 +02:00
Twan van Laarhoven
8b91cd8804
Message box when there are exceptions when creating a set, because there is no console yet
2020-05-22 00:26:51 +02:00
Twan van Laarhoven
cbab6481a1
When reading, don't add items to a vector before they are read. This avoids nullptrs in the list of fields, cards, etc. when exceptions are thrown
2020-05-22 00:25:55 +02:00
Twan van Laarhoven
749de23eb0
Fix error when using saveAs
2020-05-22 00:25:35 +02:00
Twan van Laarhoven
c8bf037815
Fix: correct line numbers for parse errors in included files
2020-05-22 00:24:05 +02:00
Twan van Laarhoven
4bd29f0eda
Add override keyword
2020-05-21 20:01:23 +02:00
Twan van Laarhoven
1bb61ea9ac
Fix gcc build
2020-05-21 19:53:56 +02:00
Twan van Laarhoven
be3e8b1e6b
Fix reflection of TextStyle::layout
2020-05-21 19:34:39 +02:00
Twan van Laarhoven
1a0e17221b
Added StringView type (similar to std::string_view)
2020-05-21 19:29:42 +02:00
Twan van Laarhoven
6a299dfe41
Fix #48
2020-05-20 13:10:39 +02:00
Twan van Laarhoven
641acff92a
Add game and stylesheet version numbers to set files. Closes #39
2020-05-19 23:56:23 +02:00
Twan van Laarhoven
09139128e1
Fix in_tag and is_tag calls, fixes #47
2020-05-19 22:59:38 +02:00
Twan van Laarhoven
a0f077e3b6
Fix gcc build
2020-05-18 00:31:46 +02:00
Twan van Laarhoven
7ac44fcff1
More strict matching of tags: <blah> doesn't count as <b> anymore
2020-05-17 23:51:36 +02:00
Twan van Laarhoven
ab4e7e59f3
Margin top in <margin> tag
2020-05-17 22:52:56 +02:00
Twan van Laarhoven
b3ddb295fc
Rewrite of keyword matching code. This fixes #20
...
Uses new iterator based tagged string functions.
2020-05-17 22:00:59 +02:00
Twan van Laarhoven
0b653938cc
Use unordered_map in KeywordTrie
2020-05-16 21:57:28 +02:00
Twan van Laarhoven
cba96d6f23
Fix #46
2020-05-16 20:35:57 +02:00
Twan van Laarhoven
6b6306fc86
Don't use wxMkDir, it shows stupid error messages
2020-05-16 20:12:04 +02:00
Twan van Laarhoven
424fd96185
Add help text to the card/keyword filter boxes
2020-05-16 14:16:32 +02:00
Twan van Laarhoven
e7c5a0fe32
Use '-' for negation in quick filter ( closes #43 )
2020-05-16 13:52:25 +02:00
Twan van Laarhoven
ab2adf7e70
In quick filter, treat ! and : as literal characters when inside quotes ( #43 )
2020-05-16 13:25:25 +02:00
Twan van Laarhoven
92fbb9ea10
Remove erase background event handlers, in favor of SetBackgroundStyle.
2020-05-16 01:56:17 +02:00
Twan van Laarhoven
dbe6fbd33b
cleanup: child class doesn't need to be public
2020-05-16 00:58:44 +02:00
Twan van Laarhoven
32f28747f0
cleanup indentation
2020-05-16 00:56:11 +02:00
Twan van Laarhoven
5deaeeeb3e
Cleanup: use override specifier everywhere, and enable gcc warning to check for it.
2020-05-16 00:23:18 +02:00
Twan van Laarhoven
a7c47729c1
Clean up old style angle brackets in nested templates
2020-05-15 02:15:58 +02:00
Twan van Laarhoven
3ea5ea9573
Fix missing carret in card filter box
...
Add Ctrl+K as a shortcut for card/keyword filter
2020-05-15 02:08:55 +02:00
Twan van Laarhoven
c9698573c9
Change keyboard shortcuts for tabs
2020-05-15 00:54:48 +02:00