mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Core: Add dedicated BitField template
This commit is contained in:
parent
7b9c5122fa
commit
0d267e7b1e
46 changed files with 188 additions and 155 deletions
|
|
@ -517,7 +517,7 @@ TEST_SUITE("[TextServer]") {
|
|||
struct TestCase {
|
||||
String text;
|
||||
PackedInt32Array breaks;
|
||||
BitField<TextServer::LineBreakFlag> flags;
|
||||
BitField<TextServer::LineBreakFlag> flags = TextServer::BREAK_NONE;
|
||||
};
|
||||
TestCase cases[] = {
|
||||
{ U"test \rtest", { 0, 4, 6, 10 }, TextServer::BREAK_MANDATORY | TextServer::BREAK_WORD_BOUND | TextServer::BREAK_TRIM_START_EDGE_SPACES | TextServer::BREAK_TRIM_END_EDGE_SPACES },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue