Skip to content

Commit

Permalink
A not working attempt at link detection
Browse files Browse the repository at this point in the history
  • Loading branch information
phurley committed Jul 21, 2008
1 parent 3c07e44 commit c2aab03
Show file tree
Hide file tree
Showing 6 changed files with 1,394 additions and 1,246 deletions.
2,471 changes: 1,240 additions & 1,231 deletions English.lproj/MainMenu.nib/designable.nib

Large diffs are not rendered by default.

Binary file modified English.lproj/MainMenu.nib/keyedobjects.nib
Binary file not shown.
2 changes: 1 addition & 1 deletion Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>LSUIElement</key>
<string>1</string>
<string>0</string>
</dict>
</plist>
4 changes: 4 additions & 0 deletions NoteController.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ class NoteController < OSX::NSObject
ib_outlet :combo
ib_action :test

def clickedOnLink_atIndex(index)
puts "It worked: #{index}"
end

def test
data = @text.textStorage
everything = NSRange.new(0, data.length)
Expand Down
109 changes: 99 additions & 10 deletions ShaneNotes.xcodeproj/phurley.mode1v3
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,88 @@
<key>Notifications</key>
<array/>
<key>OpenEditors</key>
<array/>
<array>
<dict>
<key>Content</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>891C6BE80E34E51A007C0E93</string>
<key>PBXProjectModuleLabel</key>
<string>Info.plist</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>891C6BE90E34E51A007C0E93</string>
<key>PBXProjectModuleLabel</key>
<string>Info.plist</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>891C6BEA0E34E51A007C0E93</string>
<key>history</key>
<array>
<string>891C6BE60E34E47B007C0E93</string>
</array>
</dict>
<key>SplitCount</key>
<string>1</string>
</dict>
<key>StatusBarVisibility</key>
<true/>
</dict>
<key>Geometry</key>
<dict>
<key>Frame</key>
<string>{{0, 20}, {1089, 653}}</string>
<key>PBXModuleWindowStatusBarHidden2</key>
<false/>
<key>RubberWindowFrame</key>
<string>38 308 1089 694 0 0 1680 1028 </string>
</dict>
</dict>
<dict>
<key>Content</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>891C6BEB0E34E51A007C0E93</string>
<key>PBXProjectModuleLabel</key>
<string>NoteController.rb</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>891C6BEC0E34E51A007C0E93</string>
<key>PBXProjectModuleLabel</key>
<string>NoteController.rb</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>891C6BEE0E34E51A007C0E93</string>
<key>history</key>
<array>
<string>891C6BED0E34E51A007C0E93</string>
</array>
</dict>
<key>SplitCount</key>
<string>1</string>
</dict>
<key>StatusBarVisibility</key>
<true/>
</dict>
<key>Geometry</key>
<dict>
<key>Frame</key>
<string>{{0, 20}, {1089, 653}}</string>
<key>PBXModuleWindowStatusBarHidden2</key>
<false/>
<key>RubberWindowFrame</key>
<string>31 229 1089 694 0 0 1680 1028 </string>
</dict>
</dict>
</array>
<key>PerspectiveWidths</key>
<array>
<integer>-1</integer>
Expand Down Expand Up @@ -231,8 +312,6 @@
<key>Layout</key>
<array>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXBottomSmartGroupGIDs</key>
Expand Down Expand Up @@ -269,6 +348,7 @@
<key>PBXSmartGroupTreeModuleOutlineStateExpansionKey</key>
<array>
<string>29B97314FDCFA39411CA2CEA</string>
<string>29B97317FDCFA39411CA2CEA</string>
<string>1C37FABC05509CD000000102</string>
</array>
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
Expand Down Expand Up @@ -342,6 +422,8 @@
<string>0pt</string>
</dict>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
Expand Down Expand Up @@ -514,10 +596,15 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
<string>1C78EAAD065D492600B07095</string>
<string>891C6BEF0E34E51A007C0E93</string>
<string>891C6BF00E34E51A007C0E93</string>
<string>891C6BF10E34E51A007C0E93</string>
<string>1CD10A99069EF8BA00B06720</string>
<string>891C6B220E326FCA007C0E93</string>
<string>891C6BEB0E34E51A007C0E93</string>
<string>/Users/phurley/projects/ShaneNotes/ShaneNotes.xcodeproj</string>
<string>891C6BE80E34E51A007C0E93</string>
<string>1C78EAAD065D492600B07095</string>
</array>
<key>WindowString</key>
<string>493 487 690 397 0 0 1680 1028 </string>
Expand Down Expand Up @@ -850,6 +937,8 @@
<key>Dock</key>
<array>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
Expand All @@ -860,18 +949,18 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
<string>{{0, 0}, {650, 209}}</string>
<string>{{0, 0}, {701, 688}}</string>
<key>RubberWindowFrame</key>
<string>514 611 650 250 0 0 1680 1028 </string>
<string>547 172 701 729 0 0 1680 1028 </string>
</dict>
<key>Module</key>
<string>PBXDebugCLIModule</string>
<key>Proportion</key>
<string>209pt</string>
<string>688pt</string>
</dict>
</array>
<key>Proportion</key>
<string>209pt</string>
<string>688pt</string>
</dict>
</array>
<key>Name</key>
Expand All @@ -891,11 +980,11 @@
<key>ToolbarConfiguration</key>
<string>xcode.toolbar.config.consoleV3</string>
<key>WindowString</key>
<string>514 611 650 250 0 0 1680 1028 </string>
<string>547 172 701 729 0 0 1680 1028 </string>
<key>WindowToolGUID</key>
<string>1C78EAAD065D492600B07095</string>
<key>WindowToolIsVisible</key>
<false/>
<true/>
</dict>
<dict>
<key>Identifier</key>
Expand Down
54 changes: 50 additions & 4 deletions ShaneNotes.xcodeproj/phurley.pbxuser
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@
PBXPerProjectTemplateStateSaveDate = 238186432;
PBXWorkspaceStateSaveDate = 238186432;
};
perUserProjectItems = {
891C6BE60E34E47B007C0E93 /* PBXBookmark */ = 891C6BE60E34E47B007C0E93 /* PBXBookmark */;
891C6BEA0E34E51A007C0E93 /* PBXTextBookmark */ = 891C6BEA0E34E51A007C0E93 /* PBXTextBookmark */;
891C6BED0E34E51A007C0E93 /* PBXTextBookmark */ = 891C6BED0E34E51A007C0E93 /* PBXTextBookmark */;
891C6BEE0E34E51A007C0E93 /* PBXTextBookmark */ = 891C6BEE0E34E51A007C0E93 /* PBXTextBookmark */;
};
sourceControlManager = 891C6B2B0E326FCA007C0E93 /* Source Control */;
userBuildSettings = {
};
Expand All @@ -59,7 +65,7 @@
4DDCA7110ACC9A6100E082CE /* Info.plist */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1030, 622}}";
sepNavSelRange = "{857, 0}";
sepNavSelRange = "{868, 0}";
sepNavVisRange = "{0, 895}";
sepNavWindowFrame = "{{38, 252}, {1089, 750}}";
};
Expand Down Expand Up @@ -103,9 +109,49 @@
};
891C6B2D0E326FF4007C0E93 /* ShaneApp.rb */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1030, 622}}";
sepNavSelRange = "{530, 0}";
sepNavVisRange = "{0, 574}";
sepNavIntBoundsRect = "{{0, 0}, {1030, 836}}";
sepNavSelRange = "{839, 0}";
sepNavVisRange = "{0, 804}";
sepNavWindowFrame = "{{86, 188}, {1089, 750}}";
};
};
891C6B510E328CF5007C0E93 /* NoteController.rb */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1030, 2052}}";
sepNavSelRange = "{339, 0}";
sepNavVisRange = "{142, 705}";
sepNavWindowFrame = "{{31, 173}, {1089, 750}}";
};
};
891C6BE60E34E47B007C0E93 /* PBXBookmark */ = {
isa = PBXBookmark;
fRef = 4DDCA7110ACC9A6100E082CE /* Info.plist */;
};
891C6BEA0E34E51A007C0E93 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 4DDCA7110ACC9A6100E082CE /* Info.plist */;
name = "Info.plist: 28";
rLen = 0;
rLoc = 868;
rType = 0;
vrLen = 895;
vrLoc = 0;
};
891C6BED0E34E51A007C0E93 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 891C6B510E328CF5007C0E93 /* NoteController.rb */;
rLen = 0;
rLoc = 2147485178;
rType = 0;
};
891C6BEE0E34E51A007C0E93 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 891C6B510E328CF5007C0E93 /* NoteController.rb */;
name = "NoteController.rb: 20";
rLen = 0;
rLoc = 339;
rType = 0;
vrLen = 705;
vrLoc = 142;
};
}

0 comments on commit c2aab03

Please sign in to comment.