mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-18 00:21:22 +00:00
Use standard menu Find and connect Line Number... to first responder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37221 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cb04cf2bb5
commit
bdf1f9e902
7 changed files with 10 additions and 38 deletions
|
@ -1,3 +1,11 @@
|
|||
2013-10-13 German Arias <germanandre@gmx.es>
|
||||
|
||||
* English.lproj/ProjectCenter.gorm: Use the standard menu Find and
|
||||
connect option "Line Number..." to first responder.
|
||||
* Modules/Editors/ProjectCenter/PCEditor.m: Use Find panel.
|
||||
* Headers/PCMenuController.h:
|
||||
* PCMenuController.m: Remove unnecessary methods.
|
||||
|
||||
2013-10-06 German Arias <germanandre@gmx.es>
|
||||
|
||||
* Headers/PCPrefController.h:
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"findNext:",
|
||||
"findPrevious:",
|
||||
"findShowPanel:",
|
||||
"openGoToLinePanel:",
|
||||
"newAction:"
|
||||
);
|
||||
Super = NSObject;
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -81,11 +81,6 @@
|
|||
- (void)fileRename:(id)sender;
|
||||
- (void)fileNewUntitled:(id)sender;
|
||||
|
||||
// Edit
|
||||
/*- (void)findShowPanel:(id)sender;
|
||||
- (void)findNext:(id)sender;
|
||||
- (void)findPrevious:(id)sender;*/
|
||||
|
||||
// Tools
|
||||
- (void)showInspector:(id)sender;
|
||||
- (void)showEditorPanel:(id)sender;
|
||||
|
|
|
@ -139,6 +139,7 @@
|
|||
[ev setMinSize:NSMakeSize(0, 0)];
|
||||
[ev setMaxSize:NSMakeSize(1e7, 1e7)];
|
||||
[ev setRichText:YES];
|
||||
[ev setUsesFindPanel: YES];
|
||||
[ev setVerticallyResizable:YES];
|
||||
[ev setHorizontallyResizable:NO];
|
||||
[ev setAutoresizingMask:NSViewWidthSizable|NSViewHeightSizable];
|
||||
|
|
|
@ -207,39 +207,6 @@
|
|||
@"OK",nil,nil);
|
||||
}
|
||||
|
||||
// Edit
|
||||
- (void)findShowPanel:(id)sender
|
||||
{
|
||||
[[TextFinder sharedInstance] orderFrontFindPanel:self];
|
||||
}
|
||||
|
||||
- (void)findNext:(id)sender
|
||||
{
|
||||
[[TextFinder sharedInstance] findNext:self];
|
||||
}
|
||||
|
||||
- (void)findPrevious:(id)sender
|
||||
{
|
||||
[[TextFinder sharedInstance] findPrevious:self];
|
||||
}
|
||||
|
||||
- (void)findJumpToSelection:(id)sender
|
||||
{
|
||||
[[TextFinder sharedInstance] jumpToSelection:self];
|
||||
}
|
||||
|
||||
- (void)findEnterSelection:(id)sender
|
||||
{
|
||||
[[TextFinder sharedInstance] enterSelection:self];
|
||||
}
|
||||
|
||||
- (void)goToLine:sender
|
||||
{
|
||||
// TODO: What is the best: inline editor popup or separate panel?
|
||||
// [[[[projectManager rootActiveProject] projectEditor] activeEditor]
|
||||
// goToLine:sender];
|
||||
}
|
||||
|
||||
// Tools
|
||||
- (void)toggleToolbar:(id)sender
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue