mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-19 01:51:09 +00:00
Editors should now use the font panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@12953 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
50112a3cb8
commit
5e791b7147
2 changed files with 5 additions and 3 deletions
|
@ -72,7 +72,8 @@ NSString *PCEditorDidResignKeyNotification=@"PCEditorDidResignKeyNotification";
|
|||
|
||||
[iView setMinSize:NSMakeSize (0, 0)];
|
||||
[iView setMaxSize:NSMakeSize(1e7, 1e7)];
|
||||
[iView setRichText:NO];
|
||||
[iView setRichText:YES];
|
||||
[iView setUsesFontPanel:YES];
|
||||
[iView setEditable:YES];
|
||||
[iView setSelectable:YES];
|
||||
[iView setVerticallyResizable:YES];
|
||||
|
@ -95,7 +96,8 @@ NSString *PCEditorDidResignKeyNotification=@"PCEditorDidResignKeyNotification";
|
|||
|
||||
[eView setMinSize: NSMakeSize (0, 0)];
|
||||
[eView setMaxSize:NSMakeSize(1e7, 1e7)];
|
||||
[eView setRichText:NO];
|
||||
[eView setRichText:YES];
|
||||
[eView setUsesFontPanel:YES];
|
||||
[eView setEditable:YES];
|
||||
[eView setSelectable:YES];
|
||||
[eView setVerticallyResizable:YES];
|
||||
|
|
|
@ -181,7 +181,7 @@ static int _tabFlags = PCTab4Sp;
|
|||
}
|
||||
*/
|
||||
|
||||
if( ![[anEvent characters] compare: @"\t"] )
|
||||
if( [[anEvent characters] isEqualToString:@"\t"] )
|
||||
{
|
||||
switch( _tabFlags )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue