home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.bin / SourceCode / MiscKit1.2.6 / Examples / MiscStringService / English.lproj / MiscStringService.nib / data.nib (.txt) < prev   
Encoding:
NeXT TypedStream Data  |  1994-01-07  |  6.0 KB  |  96 lines

  1. typedstream
  2. IBObjectData
  3. Object
  4. CustomObject
  5. Application
  6. MenuTemplate
  7. *@*@ccc
  8. MiscStringService
  9. Matrix
  10. Control
  11.     Responder
  12. @:@iiii
  13. MenuCell
  14. ButtonCell
  15. ActionCell
  16.     Helvetica
  17. Info Panel...
  18. Help...
  19. ff@@#::s
  20. submenuAction:
  21. NXImage
  22. NXmenuArrow
  23.     TextField
  24. TextFieldCell
  25. Version 1.0
  26. 4A simple service provider using the MiscString class
  27. Helvetica-Oblique
  28. Carl Lindberg
  29. Button
  30. Times-Bold
  31. 8Licensed for use under the terms of the MiscKit license.
  32. 9Copyright (c) 1994, Zaphod, Inc.     All Rights Reserved.
  33. ClipView
  34. ScrollView
  35. Scroller
  36. _doScroller:
  37. @@@ffs
  38. NXCursor
  39. NXibeam
  40. ciifffcfffs
  41. [3463c]{\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fswiss Helvetica;}
  42. \margl100
  43. \margr40
  44. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b\i0\ul\qc\fs48\fc0\cf0 MiscStringService\
  45. \f1\b0\ulnone\ql\fs24 \
  46.    This little app came about when a friend of mine was complaining about the lack of an 'Uppercase selection' function in Edit.app.  Realizing how easy it would be to do, I sat down and did it.  It ended up being a moderately useful app that serves as a nice example of a use of the MiscString class (since these all are methods straight out of the class).\
  47.   To install, put MiscStringService.app into /LocalApps or your ~/Apps directory.  At this point, a 'MiscString' submenu will show up under the 'Services' menu (provided the app that you are currently using allows you to select and replace text somewhere).  Under the 'MiscString' submenu, there are nine services provided:\
  48. \pard\tx720\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fi-280\li280\fc0\cf0 \
  49. \b Capitalize Words:
  50. \b0  This will capitalize the first letter in each word in the selection.  Words are separated by any number of whitespaces.\
  51. \b Invert Cases:
  52. \b0  This will invert the case of each letter in the selection.  Useful if you've been typing for a bit then realizing you've left your Caps Lock key on accidentally.  Command-key: 
  53. \b0 \
  54. \b Reverse:
  55. \b0  This will reverse the order of the characters in the selection.  If it doesn't seem to change, it's a palindrome.  : - )  Command-key: 
  56. \b0 \
  57. \b Squash Spaces:
  58. \b0  This will go through the selection and remove all redundant spaces.  One space will be left between words, except after a period or colon in which case two spaces will be left.  \
  59. \b To Lowercase:
  60. \b0   Converts every character in the selection to its lowercase equivalent.  This will work on extended ASCII characters too.  Command-key: 
  61. \b0 \
  62. \b To Uppercase:  
  63. \b0 Converts every character in the selection to its uppercase equivalent.  This will work on extended ASCII characters too.  Command-key: 
  64. \b0 \
  65. \b Trim Lead Spaces:
  66. \b0   This removes any spaces in the beginning of the selection.\
  67. \b Trim Spaces:
  68. \b0   This removes any spaces in the beginning and at the end of the selection.\
  69. \b Trim Tail Spaces:
  70. \b0   This removes any spaces at the end of the selection.\
  71. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0\cf0   See the documentation on the MiscString class for further information.\
  72.   Four of the menu items above have been given command-key equivalents, as noted.  However, these may not show up in every app you use depending if that app already uses that key for something else.  For example, Edit.app uses all four of the above characters for other menu items, so none of them will work for these services.\
  73.   Also note that this app only copies and pastes in straight ASCII.  In other words, if you are using Rich Text Format, any special command codes that might have been in the text will be lost upon replacement.  Therefore, exercise a little caution when using this with RTF documents.\
  74.   Well, hopefully you will find this little app useful in some way.  Please send any suggestions, comments, complaints, improvements, etc., to (preferably) me, Carl Lindberg (lindberg@csnext.colgate.edu), or the current MiscKit administrator, which is currently Don Yacktman (Don_Yacktman@byu.edu).  Thank you.\
  75. WindowTemplate
  76. iiii***@s@
  77. MiscStringService Help
  78. Panel
  79. Controller
  80. Field1
  81. Field
  82. Field4
  83. File's Owner
  84. VersionNumber
  85. Field3
  86. Button1
  87. Field2
  88. MainMenu
  89. IBControlConnector
  90. IBConnector
  91. hide:
  92. terminate:
  93. IBOutletConnector
  94. delegate
  95. makeKeyAndOrderFront:
  96.