mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Minor optimisations. New method OwnedArray::insertArray(). Changed some CodeDocument inner class constructors to use references rather than pointers.
This commit is contained in:
parent
98e37b8e7a
commit
d4ae8f3d55
8 changed files with 236 additions and 235 deletions
|
|
@ -142,7 +142,7 @@ void SourceCodeEditor::highlightLine (int lineNum, int characterIndex)
|
|||
editor->getDocument().getNumLines() - editor->getNumLinesOnScreen())));
|
||||
}
|
||||
|
||||
editor->moveCaretTo (CodeDocument::Position (&editor->getDocument(), lineNum - 1, characterIndex), false);
|
||||
editor->moveCaretTo (CodeDocument::Position (editor->getDocument(), lineNum - 1, characterIndex), false);
|
||||
}
|
||||
|
||||
void SourceCodeEditor::resized()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue