Commit Graph

3790 Commits

Author SHA1 Message Date
Jon Rafkind
fcec57d8fb get the line number from the paragraph
original commit: 1093b4a43060cdd1e481e8570a7293538ab201ce
2010-11-03 17:16:34 -06:00
Jon Rafkind
52a60ead83 clean up line numbers code
original commit: 68c197f63920e1b2814beb2bb68a2c22117b6502
2010-11-03 15:15:54 -06:00
Jon Rafkind
f21bdf599b add line number interface documentation
original commit: 7f56e677f41798aaeb52affddc32e05729b7e4e1
2010-11-03 15:09:04 -06:00
Jon Rafkind
a7e7bb6384 use line locations instead of counting snips
original commit: 4a69c362588381e28977a2529578911f2fc54c9b
2010-11-03 14:56:05 -06:00
Casey Klein
7c445ec6e4 Adds auto-completion to LaTeX and TeX inspired keybindings
original commit: bd0ebc7511c7b66dfdd0b24d68dbe27077a9a7dd
2010-11-02 22:34:05 -05:00
Jon Rafkind
b444c0726d set clipping for regular text. minor optimization when choosing line numbers to draw
original commit: 87cc623a6fd1815f4361e3117708f38989388b1a
2010-11-02 13:09:54 -06:00
Jon Rafkind
7a68394411 set the font before computing the distance between the line numbers and the real text. add an option to the general pane to enable line numbers
original commit: eb89a429e796f4ee0ae0d8e0bd154992e36dc0dc
2010-11-01 23:45:00 -06:00
Jon Rafkind
8493d46967 cleanup code. attempt to add preference for line numbers in the general tab. closes pr11367
original commit: 18504774f00cdff945217e36c4a5c01ed16fd5dc
2010-11-01 22:14:45 -06:00
Jon Rafkind
2388261846 replace the line number widget in drracket with the new mixin from the framework
original commit: 4f3e87d42a788de0f11f503f31deb8bc2069e890
2010-11-01 22:14:45 -06:00
Jon Rafkind
6369097889 document line-numbers-mixin
original commit: 32bd5c9f5fe0a829616ebd80f7e80fcf4d482a90
2010-11-01 22:14:45 -06:00
Jon Rafkind
d68731be35 clean up line numbers implementation
original commit: 281138d4b8e7340a8cc35035f39fca8766a7b87f
2010-11-01 22:14:45 -06:00
Jon Rafkind
bd00bd5303 add first draft of a mixin for text% objects that displays line numbers
original commit: dc6350244d4d324dae97e863c2fc4a38d1b1dac3
2010-11-01 22:14:44 -06:00
Robby Findler
2f17eb823c fix minor bug in 'display-end functionality in invalidate-bitmap-cache
original commit: 822895fd68263aab59a32bf863e72946fea5bb6e
2010-10-29 15:06:48 -05:00
Robby Findler
1b32d2dab2 fixed some bugs in the way 2htdp/images were marshalled and unmarshalled
original commit: 6a414bd18afb6e53a11601781e2917539a321e1e
2010-10-28 17:20:43 -05:00
Robby Findler
6b991a5f60 fixed a bug in the way old 2htdp/image files were parsed (those that contain bitmaps)
original commit: 7ef1e8bd907b5f18f563848346628da0dcd2406f
2010-10-28 17:20:43 -05:00
Robby Findler
b78887e5a9 added default case to avoid runtime errors when parsing bogus images
original commit: abca2c91b8569f0a516c6ed9e4d4f325361f5f03
2010-10-28 17:20:42 -05:00
Robby Findler
d75777d57d 2htdp/image: adjusted the image you get when parsing fails so that it draws inside its bounding box
original commit: 02d8b5cebf9341c1d07823e9c048e751e576a50f
2010-10-28 17:20:42 -05:00
Robby Findler
0b029011dd added support to the 2htdp/image library for reading files when there is no GUI around.
currently the support is limited to images that can only report their sizes and pinholes and where equal?
signals an error unless the arguments are eq?.

original commit: a744958fd539471315b7515e3e9460af861aa7b7
2010-10-28 11:32:14 -05:00
Robby Findler
c88bace1ce tightened the contract on read-snip
original commit: a021403679cfa7b44c3091bd979ff6997d1f2b86
2010-10-28 11:32:14 -05:00
Matthias Felleisen
c0aee593cc impose contract on write-animated-gif, Closes PR11358
original commit: 07952e140867be125978e05516ea0fe1591deff8
2010-10-26 23:22:14 -04:00
Matthew Flatt
99bba880ea adjust release notes for 5.0.2
Merge to 5.0.2

original commit: 0b73790ac0097cad30281471833f61df25184463
2010-10-22 14:07:35 -06:00
Robby Findler
2270612ece adjusted the way caching works for bitmaps to be more effective
original commit: 35f64145ca1ca9ecc858222b333af4e8cb25b474
2010-10-22 06:45:57 -05:00
Robby Findler
8fb67cd27d adjusted the recently opened menu items code so that it does not create all of the menu items as often
original commit: 0614da599255ebb5ebfc4879c42eb0a74aa0e1c1
2010-10-17 10:25:08 -05:00
Robby Findler
0cf93e975c added a check to avoid creating a new bitmap struct (so caching works better when you flip images that are not scaled)
original commit: 1d0ebeae62bce8ec43dde86a772d62f587b4c7f1
2010-10-14 14:05:12 -05:00
Eli Barzilay
476d080852 Encode any text instead of going through a pretty-printer.
original commit: 42e76eaaf4a34dd439bc34d586144ab6127e7b72
2010-10-14 13:46:51 -04:00
Robby Findler
7f2097e2bb added an argument to open-input-text-editor so that it can lock (and unlock) the editor when editing would not be allowed.
original commit: 3e9858b001699d9ef66d016a2ee691dacc5a8503
2010-10-13 15:55:17 -05:00
Robby Findler
872c587255 closes PR 11293
original commit: 05d16d931121f56a2b98454d61d17588635cbadc
2010-10-07 19:36:18 -05:00
John Clements
b343e68e2e it's -> its
original commit: e94163f37a218390e64174d5db89ba27210e1a87
2010-10-05 21:09:17 -07:00
Robby Findler
7a1c34c546 closes PR 11236
original commit: 08b9396e2fdea6e1430cfabc130efafe14a5c4b1
2010-09-21 16:47:55 -05:00
Eli Barzilay
7ce956664d Some repeated "and and"s and "the the"s, and two more typos.
Closes PR 11229.

original commit: ee138cf2cba3ee32cd755a7b242ec10051180adf
2010-09-20 15:38:18 -04:00
Matthew Flatt
deac00ebf4 fix bug introduced with 'display-end change
original commit: f67bb10c19cf3557bb19275a0a2e5bcd1d47d43a
2010-09-20 12:29:52 -06:00
Matthew Flatt
4155ffbbeb extend invalidate-bitmap-cache' in editor<%>' with 'display-end option
which the framework's background-rectangle implementation can use
 to queue refreshes for changing rectangles, instead of requiring a
 full-canvas refresh

original commit: aac7e0b58a2dd7a5e964785b0162ab48c9081c8f
2010-09-19 19:22:22 -06:00
Matthew Flatt
4e3ac8b77f fix documented canvas-scroll limits
original commit: fd285baeac57bcb60037b6777e2fd0e72aaa4423
2010-09-18 19:52:40 -06:00
Robby Findler
a717919298 closes PR 11207
original commit: 5b54caebb066920e2585244a5ee444a3f121c966
2010-09-13 16:41:12 -05:00
Jay McCarthy
b808f9045d Adding PLAI keywords to default indent
original commit: 12fb39f5bd473af62dd9d1ae03a066f047ea11fd
2010-09-13 10:29:03 -06:00
Robby Findler
a155727e09 changed the ->d contracts to ->i contracts
original commit: d419e8c12a554d660a65198dd102bc03e01c93a8
2010-09-09 14:21:35 -05:00
Robby Findler
189edf7686 made equality check on images sensitive to pinholes
original commit: d2e443ac97bfea7806f5709ba40c3b0b4ba77f10
2010-09-06 20:39:11 -05:00
Robby Findler
973ed02887 made scaling work with pinholes
original commit: e3b51e8cf4da6fb1308d967129421386efeab4bc
2010-09-06 20:39:11 -05:00
Robby Findler
4d26bbc40a Added docs and exported basic pinhole manipulation primitives
original commit: 4fa7fa299490cf1cb7acf71ec4797a9a714c8e14
2010-09-06 20:39:10 -05:00
Robby Findler
31af2360af added pinhole drawing
original commit: 748fc32bd1e0b3d99315fb69f3cfa810585f60f6
2010-09-06 20:39:10 -05:00
Robby Findler
ad9a2a8721 added a pinhole property to images
original commit: 5e01ac55373d2987410da7d95f26f42535cfae3b
2010-09-06 20:39:10 -05:00
Ryan Culpepper
9937aefd11 removed useless requires
original commit: fff692309edd4752c82cf4adab4c45a930d525ef
2010-09-03 13:53:42 -06:00
Robby Findler
33957b3b3c forgot the flip check (caught by the test suites)
original commit: 7fead2875a4c4503344a06a688b83e40561f0d3b
2010-09-02 12:20:19 -05:00
Robby Findler
62f4b7e9d5 fixed a performance bug (avoids computing the rotation of a bitmap when it isnt actually rotated...)
original commit: 09bd56081b68ddbcbc46201af5ee2f4855e5d7a5
2010-09-02 11:01:23 -05:00
Robby Findler
158145178f added a note about how the max width is remembered in the splash screen
original commit: 4c35af2eef7fe95efe89a465e221443b1b653702
2010-09-01 14:39:16 -05:00
Robby Findler
42ef533a5a duh
original commit: 70ea262426018c54fac78fa47a3c4a5a065efae4
2010-09-01 14:27:35 -05:00
Robby Findler
bb17de3e20 adjusted the splash screen code so that the christmas day easter egg is optional (defaultly off)
original commit: 44753bc690292b114d934416ff2a096efc44199f
2010-09-01 13:23:18 -05:00
Robby Findler
1947ad1240 added docs for the splash screen library in the framework
original commit: 12ab498977f9f481187643c47ed6710c8a572d5b
2010-09-01 13:23:18 -05:00
Robby Findler
abc2561579 ugh
original commit: a13c251e5da944c8f1739544aea4676007138028
2010-08-27 07:25:04 -05:00
Robby Findler
530ea01f13 changed back some of Eli's ~e => ~.s changes
original commit: 797df5e72c88b79f463ba049e15253ddd60b6111
2010-08-27 06:48:50 -05:00