Changeset 277
- Timestamp:
- 01/01/08 12:06:37 (1 year ago)
- Files:
-
- trunk/cocoa/JRShellView/JRShellView.m (modified) (2 diffs)
- trunk/cocoa/JRShellView/JRShellViewDemo/AppController.m (modified) (1 diff)
- trunk/cocoa/JRShellView/JRShellViewDemo/JRShellViewDemo.xcodeproj/project.pbxproj (modified) (1 diff)
- trunk/cocoa/JRShellView/JRShellViewDemo/JRShellViewDemo.xcodeproj/wolf.mode1v3 (modified) (13 diffs)
- trunk/cocoa/JRShellView/JRShellViewDemo/JRShellViewDemo.xcodeproj/wolf.pbxuser (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cocoa/JRShellView/JRShellView.m
r276 r277 86 86 #endif 87 87 88 #pragma mark Misc88 #pragma mark Return 89 89 90 90 - (void)insertNewline:(id)sender_ { // return … … 100 100 [super insertNewline:sender_]; 101 101 if (errorString) { 102 [super insertText:errorString]; 102 NSDictionary *errorStringAttributes = [NSDictionary dictionaryWithObjectsAndKeys: 103 [NSFont fontWithName:@"Courier" size:12], NSFontAttributeName, 104 [NSColor colorWithDeviceRed:128./255. green:0. blue:0 alpha:1.], NSForegroundColorAttributeName, 105 nil]; 106 [[self textStorage] appendAttributedString:[[[NSAttributedString alloc] initWithString:errorString 107 attributes:errorStringAttributes] autorelease]]; 103 108 [super insertNewline:sender_]; 104 109 } else { trunk/cocoa/JRShellView/JRShellViewDemo/AppController.m
r276 r277 12 12 return nil; 13 13 } else { 14 // Reverse the command and return it as the "result". 14 15 unsigned charIndex = 0, charCount = [command_ length]; 15 16 unichar *input = (unichar*)[[NSMutableData dataWithCapacity:charCount * sizeof(unichar)] mutableBytes]; trunk/cocoa/JRShellView/JRShellViewDemo/JRShellViewDemo.xcodeproj/project.pbxproj
r271 r277 50 50 795A7F90099D0E3600450061 /* AppController.h */, 51 51 795A7F91099D0E3600450061 /* AppController.m */, 52 79AEA9A70D29CB1100A2C50F /* JRShellView.h */, 52 53 79AEA9A60D29CB1100A2C50F /* JRShellView.m */, 53 79AEA9A70D29CB1100A2C50F /* JRShellView.h */,54 54 ); 55 55 name = Classes; trunk/cocoa/JRShellView/JRShellViewDemo/JRShellViewDemo.xcodeproj/wolf.mode1v3
r276 r277 232 232 <array> 233 233 <dict> 234 <key>BecomeActive</key> 235 <true/> 234 236 <key>ContentConfiguration</key> 235 237 <dict> … … 275 277 <array> 276 278 <array> 277 <integer> 2</integer>279 <integer>5</integer> 278 280 <integer>1</integer> 279 281 <integer>0</integer> … … 300 302 </array> 301 303 <key>RubberWindowFrame</key> 302 <string>18 86 1141690 397 0 0 2560 1578 </string>304 <string>1823 1148 690 397 0 0 2560 1578 </string> 303 305 </dict> 304 306 <key>Module</key> … … 337 339 <string>{{0, 0}, {482, 0}}</string> 338 340 <key>RubberWindowFrame</key> 339 <string>18 86 1141690 397 0 0 2560 1578 </string>341 <string>1823 1148 690 397 0 0 2560 1578 </string> 340 342 </dict> 341 343 <key>Module</key> … … 357 359 <string>{{0, 5}, {482, 351}}</string> 358 360 <key>RubberWindowFrame</key> 359 <string>18 86 1141690 397 0 0 2560 1578 </string>361 <string>1823 1148 690 397 0 0 2560 1578 </string> 360 362 </dict> 361 363 <key>Module</key> … … 381 383 <key>TableOfContents</key> 382 384 <array> 383 <string>79 4053AA0D2AFF9A00976130</string>385 <string>79A4908A0D2B0460008FEBAE</string> 384 386 <string>1CE0B1FE06471DED0097A5F4</string> 385 <string>79 4053AB0D2AFF9A00976130</string>387 <string>79A4908B0D2B0460008FEBAE</string> 386 388 <string>1CE0B20306471E060097A5F4</string> 387 389 <string>1CE0B20506471E060097A5F4</string> … … 517 519 <key>WindowOrderList</key> 518 520 <array> 519 <string>794053D20D2B029600976130</string>520 <string>794053C20D2B018D00976130</string>521 <string>794053C30D2B018D00976130</string>522 <string>794053C40D2B018D00976130</string>523 521 <string>1C78EAAD065D492600B07095</string> 524 522 <string>1CD10A99069EF8BA00B06720</string> 525 523 <string>79AEA9B00D29CC0E00A2C50F</string> 526 <string>79 40539F0D2AFF8300976130</string>527 <string>79A EA9BA0D29CC6E00A2C50F</string>524 <string>79A4909A0D2B0BD3008FEBAE</string> 525 <string>79A4909B0D2B0BD3008FEBAE</string> 528 526 <string>/Users/wolf/code/trac/cocoa/JRShellView/JRShellViewDemo/JRShellViewDemo.xcodeproj</string> 529 527 </array> 530 528 <key>WindowString</key> 531 <string>18 86 1141690 397 0 0 2560 1578 </string>529 <string>1823 1148 690 397 0 0 2560 1578 </string> 532 530 <key>WindowToolsV3</key> 533 531 <array> … … 606 604 <array> 607 605 <string>79AEA9B00D29CC0E00A2C50F</string> 608 <string>79 4053AE0D2AFF9A00976130</string>606 <string>79A490920D2B0BD3008FEBAE</string> 609 607 <string>1CD0528F0623707200166675</string> 610 608 <string>XCMainBuildResultsModuleGUID</string> … … 648 646 <key>sizes</key> 649 647 <array> 650 <string>{{0, 0}, {316, 198}}</string>651 <string>{{316, 0}, {378, 198}}</string>648 <string>{{0, 0}, {316, 201}}</string> 649 <string>{{316, 0}, {378, 201}}</string> 652 650 </array> 653 651 </dict> … … 664 662 <key>sizes</key> 665 663 <array> 666 <string>{{0, 0}, {694, 198}}</string>667 <string>{{0, 198}, {694, 183}}</string>664 <string>{{0, 0}, {694, 201}}</string> 665 <string>{{0, 201}, {694, 180}}</string> 668 666 </array> 669 667 </dict> … … 698 696 </array> 699 697 <key>Frame</key> 700 <string>{{316, 0}, {378, 198}}</string>698 <string>{{316, 0}, {378, 201}}</string> 701 699 <key>RubberWindowFrame</key> 702 700 <string>1319 1019 694 422 0 0 2560 1578 </string> … … 726 724 <array> 727 725 <string>1CD10A99069EF8BA00B06720</string> 728 <string>79 4053AF0D2AFF9A00976130</string>726 <string>79A490930D2B0BD3008FEBAE</string> 729 727 <string>1C162984064C10D400B95A72</string> 730 <string>79 4053B00D2AFF9A00976130</string>731 <string>79 4053B10D2AFF9A00976130</string>732 <string>79 4053B20D2AFF9A00976130</string>733 <string>79 4053B30D2AFF9A00976130</string>734 <string>79 4053B40D2AFF9A00976130</string>728 <string>79A490940D2B0BD3008FEBAE</string> 729 <string>79A490950D2B0BD3008FEBAE</string> 730 <string>79A490960D2B0BD3008FEBAE</string> 731 <string>79A490970D2B0BD3008FEBAE</string> 732 <string>79A490980D2B0BD3008FEBAE</string> 735 733 </array> 736 734 <key>ToolbarConfiguration</key> … … 894 892 <array> 895 893 <string>1C78EAAD065D492600B07095</string> 896 <string>79 4053B50D2AFF9A00976130</string>894 <string>79A490990D2B0BD3008FEBAE</string> 897 895 <string>1C78EAAC065D492600B07095</string> 898 896 </array> trunk/cocoa/JRShellView/JRShellViewDemo/JRShellViewDemo.xcodeproj/wolf.pbxuser
r276 r277 38 38 ); 39 39 }; 40 PBXPerProjectTemplateStateSaveDate = 22092 1734;41 PBXWorkspaceStateSaveDate = 22092 1734;40 PBXPerProjectTemplateStateSaveDate = 220922966; 41 PBXWorkspaceStateSaveDate = 220922966; 42 42 }; 43 43 sourceControlManager = 79AEA9A40D29CB0A00A2C50F /* Source Control */; … … 56 56 uiCtxt = { 57 57 sepNavIntBoundsRect = "{{0, 0}, {997, 1246}}"; 58 sepNavSelRange = "{ 383, 0}";59 sepNavVisRange = "{0, 1 041}";58 sepNavSelRange = "{479, 0}"; 59 sepNavVisRange = "{0, 1104}"; 60 60 sepNavWindowFrame = "{{746, 173}, {1056, 1350}}"; 61 61 }; … … 102 102 79AEA9A60D29CB1100A2C50F /* JRShellView.m */ = { 103 103 uiCtxt = { 104 sepNavIntBoundsRect = "{{0, 0}, {997, 6 538}}";105 sepNavSelRange = "{3 135, 0}";106 sepNavVisRange = "{1 592, 3140}";104 sepNavIntBoundsRect = "{{0, 0}, {997, 6622}}"; 105 sepNavSelRange = "{3378, 0}"; 106 sepNavVisRange = "{1847, 3619}"; 107 107 sepNavWindowFrame = "{{838, 185}, {1056, 1350}}"; 108 108 };
