Commit Graph

7 Commits

Author SHA1 Message Date
Eli Barzilay
5b1e17cc7c Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".

original commit: 672910f27b856549ad08d38832b6714edf226c8e
2012-11-07 11:22:20 -05:00
Robby Findler
2da0f72492 small improvements to the memory usage for files opened in DrRacket.
Before this commit, opening collects/drracket/private/unit.rkt required
about 17.5 megabytes of memory and after this commit, it is down to
about 15 megabytes.

The precise measurement I did was to create a frame and a scheme:text%
object in it, record the result of current-memory-use, open the file,
and record current-memory-use again.

For comparison, using a text:standard-style-list% object instead of
the scheme:text% requires only about 4.1 megabytes. One difference
being that there are about 3x more snips (10,204 vs 33,901 (after the
commit)), since we have one snip for each region that has a different
color in the scheme:text version, and the text:standard-style-list has
no colors and thus about two per line (there are 5006 lines in the
file).

original commit: a7cb8fdc84f3b592c812468e5e7486d4f7d5bbb6
2012-03-10 20:18:49 -06:00
Robby Findler
6878919906 Lost the snipclass with the name (lib "collapsed-snipclass.ss" "framework")
somewhere between 5.1.3 and 5.2.1. Bring it back.

closes PR 12563

original commit: eda4d294cc08a37fb1e94161fbd1fa9440381bdb
2012-02-14 11:26:20 -06:00
Robby Findler
705bdfbc34 when double clicking in a comment, fall back to word-based instead
of sexp-based selection

closes PR 12439

original commit: 48772f2e405a7723f40397ccdbfdf1f646f8f9c6
2011-12-12 14:45:27 -06:00
Robby Findler
6af85bce99 adjust the double clicking in racket mode so that clicks on the
(instead of sexp-based)

closes PR 12421

original commit: 1d03e5f711c26fb06e3110c2124ef2d13a793979
2011-12-05 21:01:28 -06:00
Robby Findler
95edc28dd8 improve the double-click-on-word behavior for scribble (generally when
double clicking inside a string) and when clicking on close
parentheses (specifically, only special case close parens that are
actually parentheses according to the colorer, rather than special
casing all close parens).

original commit: 082978effea79f2689b9377f1e8d7da795c1b8ee
2011-11-30 16:55:54 -06:00
Robby Findler
ff6fa2736c some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:'
original commit: 458e2c2282adca43aabe3d1e62957389d2fbe798
2011-11-30 06:45:50 -06:00