Skip to content

Commit

Permalink
Revert "a little bit more"
Browse files Browse the repository at this point in the history
This reverts commit b6d8cc8.
  • Loading branch information
elasticthreads committed Sep 17, 2011
1 parent b6d8cc8 commit acd265c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Info.plist
Expand Up @@ -159,7 +159,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>87</string>
<string>86</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSArchitecturePriority</key>
Expand Down
5 changes: 1 addition & 4 deletions LinkingEditor.m
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,9 +1723,6 @@ - (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 acd265c

Please sign in to comment.