mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 15:39:32 +02:00
cocoa: forcing CocoaWSMemo to use plain text, disabling rich-editor features. #33699
git-svn-id: trunk@57909 -
This commit is contained in:
parent
19695582ac
commit
f01052ee8f
@ -1065,6 +1065,9 @@ begin
|
|||||||
txt := TCocoaTextView.alloc.initwithframe(nr);
|
txt := TCocoaTextView.alloc.initwithframe(nr);
|
||||||
// setting up a default system font (to be consistent with other widgetsets)
|
// setting up a default system font (to be consistent with other widgetsets)
|
||||||
txt.setFont( NSFont.systemFontOfSize( NSFont.systemFontSizeForControlSize(NSRegularControlSize) ));
|
txt.setFont( NSFont.systemFontOfSize( NSFont.systemFontSizeForControlSize(NSRegularControlSize) ));
|
||||||
|
txt.setRichText(false);
|
||||||
|
txt.setImportsGraphics(false);
|
||||||
|
txt.setUsesRuler(false);
|
||||||
|
|
||||||
// this is necessary for Ward Wrap disabled, so NSViewText
|
// this is necessary for Ward Wrap disabled, so NSViewText
|
||||||
// doesn't have a constraint to resize
|
// doesn't have a constraint to resize
|
||||||
|
Loading…
Reference in New Issue
Block a user