mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 09:55:34 -05:00
Compare commits
2 commits
45b201b44d
...
dc54560b82
Author | SHA1 | Date | |
---|---|---|---|
|
dc54560b82 | ||
|
d0eb881ebc |
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ void SimpleTextArea::updateLinesNoWrap() {
|
|||
|
||||
void SimpleTextArea::updateLinesWordWrap(bool spaceWrap) {
|
||||
this->charIteration([this, spaceWrap](CCLabelBMFont* line, const char c, const float top) {
|
||||
static const std::string delimiters(spaceWrap ? " " : " `~!@#$%^&*()-_=+[{}];:'\",<.>/?\\|");
|
||||
const std::string_view delimiters(spaceWrap ? " " : " `~!@#$%^&*()-_=+[{}];:'\",<.>/?\\|");
|
||||
|
||||
if (delimiters.find(c) == std::string_view::npos) {
|
||||
const std::string& text = line->getString();
|
||||
|
|
Loading…
Reference in a new issue