Ignore:
Timestamp:
Apr 27, 2011, 6:19:49 PM (9 years ago)
Author:
gz
Message:

When moving point to new position by mouse click, leave mark at the old position so c-x c-x (or c-u c-@) will bring you back.

Make c-x c-x with prefix argument deactivate region.

Make cmd-E invoke editor-execute-expression-command, in particular it doesn't require a selection.

Treat the colon in keywords as a word constituent for selection purposes.

Make extending the selection use the same rules as setting it. This eliminates a number of inconsistencies in selection behavior.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/cocoa-ide/hemlock/src/killcoms.lisp

    r8428 r14737  
    180180
    181181(defcommand "Exchange Point and Mark" (p)
    182   "Swap the positions of the point and the mark, activating region"
    183   "Swap the positions of the point and the mark."
    184   (declare (ignore p))
     182  "Swap the positions of the point and the mark, activating region.
     183   With a prefix argument, deactivates region"
    185184  (let ((point (current-point))
    186185        (mark (current-mark)))
     
    188187      (move-mark point mark)
    189188      (move-mark mark temp)))
    190   (activate-region))
     189  (if p
     190    (deactivate-region)
     191    (activate-region)))
    191192
    192193(defcommand "Mark Whole Buffer"  (p)
Note: See TracChangeset for help on using the changeset viewer.