Removed unused Ui::Text::Parser::createSkipBlock method.
This commit is contained in:
parent
2f5d5e0e79
commit
6ce4bedc28
1 changed files with 8 additions and 7 deletions
|
|
@ -240,7 +240,7 @@ private:
|
||||||
void trimSourceRange();
|
void trimSourceRange();
|
||||||
void blockCreated();
|
void blockCreated();
|
||||||
void createBlock(int32 skipBack = 0);
|
void createBlock(int32 skipBack = 0);
|
||||||
void createSkipBlock(int32 w, int32 h);
|
// void createSkipBlock(int32 w, int32 h);
|
||||||
void createNewlineBlock();
|
void createNewlineBlock();
|
||||||
|
|
||||||
// Returns true if at least one entity was parsed in the current position.
|
// Returns true if at least one entity was parsed in the current position.
|
||||||
|
|
@ -434,12 +434,13 @@ void Parser::createBlock(int32 skipBack) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Parser::createSkipBlock(int32 w, int32 h) {
|
// Unused.
|
||||||
createBlock();
|
// void Parser::createSkipBlock(int32 w, int32 h) {
|
||||||
_t->_text.push_back('_');
|
// createBlock();
|
||||||
_t->_blocks.push_back(Block::Skip(_t->_st->font, _t->_text, _blockStart++, w, h, _monoIndex ? _monoIndex : _lnkIndex, _spoilerIndex));
|
// _t->_text.push_back('_');
|
||||||
blockCreated();
|
// _t->_blocks.push_back(Block::Skip(_t->_st->font, _t->_text, _blockStart++, w, h, _monoIndex ? _monoIndex : _lnkIndex, _spoilerIndex));
|
||||||
}
|
// blockCreated();
|
||||||
|
// }
|
||||||
|
|
||||||
void Parser::createNewlineBlock() {
|
void Parser::createNewlineBlock() {
|
||||||
createBlock();
|
createBlock();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue