mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Minor string changes.
This commit is contained in:
parent
e0e12a8bd9
commit
66643e85ac
74 changed files with 895 additions and 889 deletions
|
|
@ -250,7 +250,7 @@ private:
|
|||
break;
|
||||
|
||||
const int spacesNeeded = spacesPerTab - ((tabPos + x) % spacesPerTab);
|
||||
t.text = t.text.replaceSection (tabPos, 1, String::repeatedString (T(" "), spacesNeeded));
|
||||
t.text = t.text.replaceSection (tabPos, 1, String::repeatedString (" ", spacesNeeded));
|
||||
}
|
||||
|
||||
x += t.text.length();
|
||||
|
|
@ -632,7 +632,7 @@ void CodeEditorComponent::insertTabAtCaret()
|
|||
{
|
||||
const int caretCol = indexToColumn (caretPos.getLineNumber(), caretPos.getIndexInLine());
|
||||
const int spacesNeeded = spacesPerTab - (caretCol % spacesPerTab);
|
||||
insertTextAtCaret (String::repeatedString (T(" "), spacesNeeded));
|
||||
insertTextAtCaret (String::repeatedString (" ", spacesNeeded));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue