[Gd-chatter] r11006 - trunk/libraries/gui-sniffer
andreas at gwydiondylan.org
andreas at gwydiondylan.org
Wed Nov 29 22:25:05 CET 2006
Author: andreas
Date: Wed Nov 29 22:25:03 2006
New Revision: 11006
Modified:
trunk/libraries/gui-sniffer/hex-view.dylan
Log:
job: 7299
Center hex view at begin of highlight.
Modified: trunk/libraries/gui-sniffer/hex-view.dylan
==============================================================================
--- trunk/libraries/gui-sniffer/hex-view.dylan (original)
+++ trunk/libraries/gui-sniffer/hex-view.dylan Wed Nov 29 22:25:03 2006
@@ -102,6 +102,11 @@
end;
select-buffer-in-appropriate-window(window, buffer);
initialize-redisplay-for-buffer(window, buffer);
+ frame-numeric-arg-state(frame) := #"digits";
+ frame-numeric-arg(frame) := start-line;
+ goto-line(frame);
+ frame-numeric-arg-state(frame) := #f;
+ force-recenter(frame);
frame-last-command-type(frame) := #"display";
end;
end;
More information about the chatter
mailing list