File: TextEditMisc.h

package info (click to toggle)
textedit.app 5.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,308 kB
  • sloc: objc: 2,863; makefile: 14
file content (10 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
/* Returns the default padding on the left/right edges of text views */
CGFloat defaultTextPadding(void);

/* Helper used in toggling menu items in validate methods, based on a condition (useFirst) */
void validateToggleItem(NSMenuItem *menuItem, BOOL useFirst, NSString *first, NSString *second);

/* Truncate string to no longer than truncationLength; should be > 10 */
NSString *truncatedString(NSString *str, NSUInteger truncationLength);