Skip to content

Commit

Permalink
Revert acd265c^..HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticthreads committed Sep 17, 2011
1 parent af01ef5 commit 979e01c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions AppController.m
Original file line number Diff line number Diff line change
Expand Up @@ -2611,11 +2611,9 @@ - (void)windowWillExitFullScreen:(NSNotification *)aNotification{
#endif

- (BOOL)isInFullScreen{
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
if (IsLionOrLater) {
return (([window styleMask]&NSFullScreenWindowMask)>0);
}
#endif
return [mainView isInFullScreenMode];

}
Expand Down
2 changes: 1 addition & 1 deletion Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>86</string>
<string>87</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSArchitecturePriority</key>
Expand Down
5 changes: 4 additions & 1 deletion LinkingEditor.m
Original file line number Diff line number Diff line change
Expand Up @@ -1678,7 +1678,7 @@ - (void)mouseDown:(NSEvent *)theEvent{
- (void)doCommandBySelector:(SEL)aSelector{
if (aSelector==@selector(insertTab:)) {
// NSUInteger

NSRange selectedRange=[self selectedRange];
NSUInteger closer=[self cursorIsInsidePair:@"]"];
if ((closer!=NSNotFound)||([self cursorIsImmediatelyPastPair:@"]"])){

Expand Down Expand Up @@ -1723,6 +1723,9 @@ - (void)doCommandBySelector:(SEL)aSelector{
[self setSelectedRange:selRange];
return;
}
}else if((selectedRange.length==7)&&([[[self string]substringWithRange:selectedRange] isEqualToString:@"http://"])&&([self.activeParagraphBeforeCursor rangeOfString:@"]: " options:NSBackwardsSearch].location!=NSNotFound)){
[self setSelectedRange:NSMakeRange(selectedRange.location+7, 0)];
return;
}
}
[super doCommandBySelector:aSelector];
Expand Down

0 comments on commit 979e01c

Please sign in to comment.