Well, mouse events are now used for the selection of lines to stage.
You can right click on a word and select "Copy", but I'm afraid that
won't help for multiple words or lines. I've toyed with using the
"Option" key to override the normal line by line staging behavior and
give you back a regular select. Give this a try and see what you
think (patch the file indicated in the +++ line, saving a copy
somewhere).
--- ./commit.js 2009-09-09 16:15:01.000000000 -0400
+++ /Applications/GitX.app/Contents/Resources/html/views/commit/
commit.js 2009-09-09 16:11:47.000000000 -0400
@@ -83,7 +83,6 @@
deselect();
currentSelection = false;
}
- document.onselectstart = function () {return false;}; /* prevent
normal text selection */
var list = document.getElementsByClassName("lines");
@@ -113,6 +112,11 @@
};
file.onmousedown = function(event) {
+ if (event.altKey) {
+ return true;
+ } else {
+ window.getSelection().empty();
+ }
if (event.which != 1)
return false;
var elem_class = event.target.getAttribute("class")