mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
More graphics updates, including fixes for CoreGraphics on PPC macs. Fix for keypress recursion in AU plugins, and fix for tabs in the CodeEditorComponent
This commit is contained in:
parent
01f109e857
commit
95fcc168d8
7 changed files with 271 additions and 594 deletions
|
|
@ -618,8 +618,11 @@ void CodeEditorComponent::insertTextAtCaret (const String& newText)
|
|||
|
||||
void CodeEditorComponent::insertTabAtCaret()
|
||||
{
|
||||
if (CharacterFunctions::isWhitespace (caretPos.getCharacter()))
|
||||
if (CharacterFunctions::isWhitespace (caretPos.getCharacter())
|
||||
&& caretPos.getLineNumber() == caretPos.movedBy (1).getLineNumber())
|
||||
{
|
||||
moveCaretTo (document.findWordBreakAfter (caretPos), false);
|
||||
}
|
||||
|
||||
if (useSpacesForTabs)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue