1. Kevin Gessner
  2. Murky

Commits

"Kev...@kevingessner.com>"  committed 7dbba5a

Add pointer cursor to links in commit description.

  • Participants
  • Parent commits 65c8193
  • Branches default

Comments (0)

Files changed (1)

File Source/HgRevision.m

View file
  • Ignore whitespace
                            NSURL *url, NSString *tooltip) {
     NSRange r = replace(desc,src,dst);
     if (r.length > 0) {
-        if (url) 
+        if (url) {
             [desc addAttribute: NSLinkAttributeName value: url range: r];
+            [desc addAttribute: NSCursorAttributeName value: [NSCursor pointingHandCursor] range: r];
+        }
         if (tooltip)
             [desc addAttribute: NSToolTipAttributeName value: tooltip range: r];
     }