mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:20:38 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8687 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a5737b792a
commit
eef7a28d19
2 changed files with 14 additions and 6 deletions
|
@ -3120,12 +3120,18 @@ other than copy/paste or dragging. */
|
|||
return;
|
||||
|
||||
[_textStorage beginEditing];
|
||||
|
||||
if (_tf.is_rich_text)
|
||||
[_textStorage replaceCharactersInRange: aRange
|
||||
withAttributedString: attrString];
|
||||
{
|
||||
[_textStorage replaceCharactersInRange: aRange
|
||||
withAttributedString: attrString];
|
||||
}
|
||||
else
|
||||
[_textStorage replaceCharactersInRange: aRange
|
||||
withString: [attrString string]];
|
||||
{
|
||||
[_textStorage replaceCharactersInRange: aRange
|
||||
withString: [attrString string]];
|
||||
}
|
||||
|
||||
[_textStorage endEditing];
|
||||
[self didChangeText];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue