Commit Graph

1362 Commits

Author SHA1 Message Date
Robby Findler
1efce0f496 change drracket and framework so they don't rebind printf anymore
(instead binding oprintf to print to the original output port of drracket)

original commit: 7eb3e8c28aacd14c4422d96e2d9e79d6910261b0
2011-01-02 10:03:24 -06:00
Robby Findler
b22d6ba314 adjust check to only insist that, when there is an editor, is it the right kind of editor.
original commit: 465d5a9f758c7b87b9e621a0ebbedefddb746176
2011-01-02 10:03:21 -06:00
Jon Rafkind
2461f3d8b3 use padding instead of manually moving the origin
original commit: 11494ce8b9ac4ec55d86cfe4e264330d4d908a02
2010-12-31 19:29:34 -07:00
Robby Findler
c4dd75a553 Rackety
original commit: 6f9bcf00015433a8a781ab832247deaaa7307869
2010-12-31 09:58:54 -06:00
Robby Findler
8cf124a6f3 fixed up panel:dragable so that it actually does the right thing now
adjusted the framework test suite so that it runs under windows
closes PR 10880

original commit: 900d74714e1b24b2bfbdcf13099a6d7dc5661dd5
2010-12-31 09:58:51 -06:00
Robby Findler
0b4d7b371c framework: change status line so they never contribute to the minimum width of the frame
related to PR 10880

original commit: b2a297afafd3ff9e38c451e522cf54ed3c39e31e
2010-12-30 21:27:11 -06:00
Robby Findler
e53c285799 framework: sometimes put the text completion menu above the line instead of below it
closes PR 10829

original commit: 4e40efaf37fc3ce255e2f8e5760df54c75535ae6
2010-12-28 07:33:26 -06:00
Robby Findler
6f3d72755e Rackety
original commit: f849f25272debb3372b1ceea676f455f5ea3310e
2010-12-28 07:33:24 -06:00
Robby Findler
4dc7f21694 added a 'fast path' check that speeds up the coloring phrase of check syntax by 3x on drracket/private/rep.rkt under windows
(thank you Eli's profiler!)

original commit: 4c796a6445ccb8504ef51f3144745bc21cde19ea
2010-12-20 12:22:46 -06:00
Robby Findler
fd46124286 generalize gui-utils:ok/cancel-buttons so that the ok button doesn't have to have the '(border) style
original commit: 6ee34f1e8816af62b53ef8eebfc9a85aead50b2b
2010-12-17 10:02:46 -06:00
Robby Findler
7e7a86c3ce only show the compiling messages when PLTDRCM is trace
original commit: 3424e1b1df543c6a7f27640734d6fdf6ff71b4ff
2010-12-12 15:26:48 -06:00
Robby Findler
ba3e1697fb added a pointer to the serialization functions from the preferences marshalling and unmarshalling
original commit: 4391de9ba6cd7596e02fae09410c37a9b579ff05
2010-12-12 15:26:46 -06:00
Robby Findler
48c66d396c fix docs typo
original commit: 7512986086cfaaded1abf025676f83fdd9b3e32b
2010-12-12 15:26:43 -06:00
Robby Findler
fdf79692b3 set the font for the flashing 'P' to be the small-control-font
original commit: 32851bddf94653f271a6ff912a9e32213c05824f
2010-12-10 11:47:08 -06:00
Robby Findler
2d216179e5 adjust meta-backspace and meta-delete so that they both delete whole words, with backspace getting rid of the one before the insertion point and delete getting rid of the one after the insertion point
original commit: ac8fd51bc4c8fea7889e170da9653994d51ef30a
2010-12-10 11:47:05 -06:00
Robby Findler
3c58e55730 added set-orientation method to panel:dragable (lets the panels
change from being vertically aligned to horizontally aligned, even
after they have been created)

original commit: 9a485dd49270da20445eeb1c8b664f8f12b414ea
2010-12-09 15:50:08 -06:00
Robby Findler
0591eccbe6 changed the 'cancel' button to say something more accurate
closes PR 11473

original commit: 81de0c133765cd75235ba29b9601fa4a69999bde
2010-12-08 21:31:47 -06:00
Robby Findler
b73c80f3c2 added a tabs menu for windows (and linux)
original commit: dd081d9b4e50617580c6fc286a08aa7ebad38b7a
2010-12-07 16:33:51 -06:00
Casey Klein
21a36a6e51 Fixes doc typos
original commit: 5f0430a5abcae4ae69612923e755759a05174a54
2010-12-02 19:26:24 -06:00
Casey Klein
a2910e89c5 Adds an indicator that shows when framework prefs are being written.
Performance grinds to a halt when the preference file is too large or
written too often. Hopefully the indicator will help us identify this
phenonmenon.

original commit: fbd7bdff5454465e2df0f99defdb64a304c1a135
2010-12-02 15:56:08 -06:00
Robby Findler
726e476ea0 avoid saving the preferences on each keystroke in the find/replace dialog
original commit: de0103129bb589fd59f618e117dde432ed1a6290
2010-12-01 14:09:33 -06:00
Robby Findler
16f70bd22c change the behavior for closing the preferences window.
closes PR 11473

original commit: 2125535e06111dd9fb17203205161582c446bdab
2010-11-30 09:57:19 -06:00
Matthew Flatt
1779a3853f add 'close-button style to dialog%; fix cocoa default frame placement
original commit: 820e832853058ee2063599ea9ab2bc8cfc23676f
2010-11-25 08:03:33 -07:00
Jon Rafkind
68bae9195e save/restore dc state while drawing line numbers
original commit: ee62bae74be7c59479a19ac4b81fed1c03df90b9
2010-11-14 19:48:21 -07:00
Robby Findler
570a0957a5 add .scrbl to liked extensions in drracket
original commit: e9c90dc580a4a49132dc7ec33b9380708888e954
2010-11-09 09:04:14 -06:00
Jon Rafkind
6306af91de set pen to black so the line separator is drawn in the right color
original commit: d920cdc945e8455e33a55fb26b2b7c3f3ccfb9c2
2010-11-08 18:10:08 -07:00
Jon Rafkind
c9ec791df0 check last-line + 1
original commit: 96018f258c406e55b98dd4d02f2c2248ad38daea
2010-11-07 12:19:49 -07:00
Jon Rafkind
421f133066 add dx offset when drawing
original commit: 74fce96d9242a559c3aed6461b1821e6cbe9ec12
2010-11-07 12:06:34 -07:00
Matthew Flatt
c14bee176f clean up
original commit: d7f1d12ea1c16d5ed062a8ac8fe2fe47db267f15
2010-11-05 15:54:49 -06:00
Matthew Flatt
0b03ac3345 adjust flush-display
original commit: 61788d68d513ddbbc4d0e4703f54e66b5849031d
2010-11-05 15:54:26 -06:00
Jon Rafkind
80563786c3 dont modify positions if line numbers arent being shown
original commit: e0e3870a622627a048e548ea5db0b5acf99b9f39
2010-11-05 15:43:20 -06:00
Jon Rafkind
29b4ae696f adjust x position when finding editor locations
original commit: a698d89a75351a470ae9f972d0c86389fd9ff88f
2010-11-05 15:15:01 -06:00
Jon Rafkind
c333bc022e use a lighter color for same paragraph lines
original commit: c0d504b7b84277e4b21d2ce0a97fb2d7d711df5e
2010-11-04 11:56:36 -06:00
Jon Rafkind
5d8c34a4ca right align numbers
original commit: 9742f896f9916373f00448b3bc72f5ea86f654da
2010-11-04 11:56:36 -06:00
Jon Rafkind
729ebbabb0 set minimum line width to accept 100 lines
original commit: d1e44d0cc85838e4183b2a10330d6a69ec72bfd2
2010-11-03 17:59:40 -06:00
Jon Rafkind
67d668337c allow line number width to increase automatically
original commit: c3111c425b2a85a90a5312e343d5a9144665d252
2010-11-03 17:58:18 -06:00
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
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
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
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
Eli Barzilay
476d080852 Encode any text instead of going through a pretty-printer.
original commit: 42e76eaaf4a34dd439bc34d586144ab6127e7b72
2010-10-14 13:46:51 -04: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
Robby Findler
a717919298 closes PR 11207
original commit: 5b54caebb066920e2585244a5ee444a3f121c966
2010-09-13 16:41:12 -05:00