Eli Barzilay
3235598f6d
* Make the drracket `default-filters' have a ";"-separated glob for all
...
patterns instead of one pattern per suffix. (This was almost never
used -- only when saving a file that is in text mode.)
* Since this default is the same that the scheme
mode ("framework/private/scheme.rkt") sets, remove that
setting. (Leave it commented in case there's need to have some
different global default.) It makes the above default get used when
saving a scheme-mode file.
* Finally, for some reason the code in "framework/private/finder.rkt"
was not using these `default-filters' at all for the file open dialog
in `*get-file'. (I tracked it back to CVS when the code was written,
and it was never used.)
I made it use it now. This is visible on gtk (and probably on
windows, not sure what OSX does) in that openning a file would show
you all files. After this change, it would show only racket source
files, but there will be an option to switch the pattern to show all files.
** If the previous setup (showing all files) was intentional, it would
be better to simply change "drracket/private/main.rkt" to add the
racket source globs before the default. In that case it might also
make sense to uncomment the change in scheme.rkt back in, so when
saving the default is the racket file suffixes (but this sounds
like a confusing UI).
original commit: 1582f160bc9c778af05ff9216854576b3b1d806b
2011-06-02 10:06:15 -04:00
Robby Findler
cba84ecfdf
add c:x;t as a keybinding for the latex shortcuts
...
closes PR 11871
original commit: 1b838cf85a984ad4fecbe8629120b9efe9cbb191
2011-05-10 15:34:47 -05:00
Robby Findler
811a6f0f91
cleaned up framework docs
...
original commit: d6ef130fd2f2067c91eb08e5ba3f4fc75eb8e7ef
2011-05-01 14:16:04 -05:00
Vincent St-Amour
791a62ce78
More indentation of TR keywords.
...
original commit: 32a8da58cb609fad2240ae3a6410c2dbec078d29
2011-04-29 15:28:30 -04:00
Asumu Takikawa
20d73086b0
Fix horizontal-panel-mixin to use correct interface.
...
original commit: 8ea0e5916de95ecb8754e62bd94c3a25ed34a536
2011-04-29 14:11:22 -04:00
Asumu Takikawa
ae8faa265d
Fixed inconsistent return values for get-pos/text.
...
original commit: 4b575c315b02e71c32823e155d2e32a3445a6817
2011-04-29 14:11:21 -04:00
Vincent St-Amour
2865956a15
Add more TR keywords to tabify list.
...
original commit: 5592e9b34ba24964d7688c9566f7bda343205ec9
2011-04-28 16:19:58 -04:00
Eric Dobson
8a4acb7003
Added TR keywords to default tabify list
...
original commit: cfab042e549061e62da8f05e7582ee13dc6326ba
2011-04-28 16:19:58 -04:00
Robby Findler
da5105208a
added lots of new tests that our documentation is complete
...
original commit: e7d0029aeaadcaf1c691756198f96cfd5eff0f4c
2011-04-25 13:24:43 -05:00
Robby Findler
2db01ab5e4
adjust various status controls so they don't take the focus
...
also added a separator menu item to the line/column number popup menu
original commit: 658bc59a92c82bdb22d0b654e8c47ef6b16258cc
2011-04-11 07:41:49 -05:00
Robby Findler
d8217c9402
made the line/column thingy's popup menu be able to show the line numbers in the definitions window
...
- added add-line-number-menu-items
- some minor fixes to the docs
related to discussion in PR 11837
original commit: c4e0559db4ca37bb086b94830b9e393989c57b61
2011-04-10 19:38:19 -05:00
Robby Findler
7210d6b63a
the tabber incorrectly counted tab chars as spaces when doing indentation;
...
this meant that if some line were supposed to be indented in the third
column and you had two tabs and a space on that line, the indenter
would leave it alone. Now, if it sees tabs in the line anywhere, it just
decides that the line is not properly indented and re-indents it
(always using spaces)
Also: started a tabber test suite
original commit: bb792c977dfa8a363ec201945527cfaa66a2a33e
2011-04-08 07:48:17 -05:00
Jon Rafkind
59a546f676
line numbers separator uses the same color as the text
...
original commit: 576916d4d7de34fe9927eac46b2fc65a5edf9aa1
2011-04-04 13:07:25 -06:00
Robby Findler
e071135ce4
fixed the 'find the word behind the insertion point' function for racket-mode completion
...
closes PR 11800
original commit: 82933e80193196fd918f5a3d80bc59e89ce7b471
2011-03-30 19:07:08 -05:00
Robby Findler
5cbc100a9a
fixes descent/ascept problems and text highlighting problems in number snips
...
closes PR 11825
original commit: e28a6832cadb37ce427ba0af7fb1f474d1d05fa0
2011-03-29 22:43:26 -05:00
Robby Findler
ac0e37e0e1
adjusted the color preferences button placement to avoid such a wide prefs dialog
...
original commit: fe75ed9a396c295c6c3a693ad17a64fed739a104
2011-03-26 10:53:23 -05:00
Robby Findler
336a550a1e
set the save-as menu shortcut to s and the prefix to shift
...
original commit: 3b4ba31d741d58e118e4b32c70bfd0f24cd2dd31
2011-03-25 20:18:52 -05:00
Robby Findler
3574ae0192
use the new extend-position functionality to adjust the shift-based key bindings implemented in the framework
...
closes PR 11768
closes PR 11806
original commit: e6633d2af11d44117cf3b5226cb3d6f9bed60427
2011-03-25 15:19:55 -05:00
Robby Findler
621d1d5ae3
- adjust the teaching language test coverage style implementation
...
so that it changes immediately when the black-on-white and
white-on-black buttons are pushed in the preferences dialog
- expanded the color preferences api a little
to allow the specification of background colors
in addition to the foreground/style information
already there
- changed the test coverage style so that the colors are
settable in the preferences dialog
closes PR 11704
original commit: 87e637a1ccdc3b2c6f2b9f5fc12804020dbb8a5e
2011-02-17 12:27:00 -06:00
Robby Findler
4c0a52964d
lift the restriction that the text:ports mixin
...
cannot do io from the eventspace handler thread
and add a test suite for text:ports
original commit: 8e94ce49e417ca57547702e5b40b201e27edb5bb
2011-02-15 18:10:02 -06:00
Jon Rafkind
3848e3da6c
use the standard editor style to get the right colors in the line
...
numbers mixin. closes pr11655
original commit: 5bb72d5b0e01d022ce49ad360bc1333029c0ea56
2011-02-09 14:36:58 -07:00
Robby Findler
c830b5a1bc
changed the module lexer's strategy to be able to handle
...
the part of the buffer before the #lang line properly
closes PR 11381
original commit: d659d2f0afe8b0d8711f58d7b6761ed9dcd48e62
2011-02-09 15:27:05 -06:00
Matthew Flatt
3ec8eca0f9
fix s:home keybinding
...
Merge to 5.1
original commit: 33db7b1229e4be54c3ef0cf06eef86761c70a623
2011-02-09 12:43:18 -07:00
Jon Rafkind
dc520a9a47
add documentation for the splitter mixin
...
original commit: 7f3f861899403f3a271b35c473878a35ed472e41
2011-02-08 14:47:07 -07:00
Jon Rafkind
923787b89c
add mixin for splitting panels
...
original commit: 878787e6f32357d432f094b083205054e04363bb
2011-02-08 14:47:07 -07:00
Robby Findler
cc016fe9fc
started to fix the colorer problems (now that I undestand how!)
...
plus some extra checking in the colorer
original commit: 49c3011f49caae37a496a25d482e5b8855def3ee
2011-02-08 10:02:42 -06:00
David Van Horn
15c7ab6e1f
Fixes more spelling errors.
...
original commit: 760a58b65df2b91010d2bcc2739ddab2a4489729
2011-02-04 19:44:13 -07:00
David Van Horn
5007d739fc
Fixed various spelling errors.
...
original commit: c9519fd11300b07292df8619e86f48533eff6e4d
2011-02-03 17:42:33 -05:00
Robby Findler
5d1df3d05d
missed a multiple-vlaues change in a short-cut case.
...
Please merge to the 5.1 release branch
original commit: 63aa388d495fc753c9772cc645e32672a841cc89
2011-02-02 17:27:26 -06:00
Robby Findler
b32fc91757
fix the get-token-range method in the case that the colorer's current region doesn't start at the begining of the buffer
...
Please merge to the release branch
original commit: 8c6c1a0e9bfee79db27b6234a806df533b5bd7cb
2011-02-01 14:52:18 -06:00
Robby Findler
bdc30d7dac
monitor the font size preference in order to redo the one-line size computation for the search bar
...
closes PR 11687
original commit: ce4bf97bde32032b0663c623d8ef1f2158a96fae
2011-01-31 17:46:31 -06:00
Robby Findler
e96d9460fd
added a color:text method get-token-range and then used that to improve how f1 in drracket works
...
Please include this commit on the release branch
original commit: 4090eabacb8d7b32900b4df18da06f14f1def40f
2011-01-29 12:28:26 -06:00
Matthew Flatt
3a9e14051b
DrRacket line numbers: fix condition for whether to draw a number
...
original commit: 96fd11eedebc28331aa689892042742ea75039be
2011-01-28 06:22:28 -07:00
Robby Findler
da6f24ecc2
disable the new {} indentation until it can be done in a #lang language-specific way
...
original commit: efb66b0cc4b41c0d71271144de23e910566b4fe9
2011-01-27 11:21:46 -06:00
Robby Findler
97b928821b
make completions box handle clicking around a little bit better
...
original commit: 71236aa48c1292539390899a14e4481aafd226e5
2011-01-25 20:58:50 -06:00
Robby Findler
4e61f8bb71
drop superflous dependency on srfi1
...
original commit: f182d0def4cb65f3089e0de167d61053279cb799
2011-01-25 20:58:47 -06:00
Robby Findler
8dd3d90602
fix sizing and font inconsistencies in the completions box
...
original commit: e0703e251be2c2fc62303f8376bc4bd10d3f0c60
2011-01-25 20:58:44 -06:00
Robby Findler
1becc8b95b
adjusted PLTDRCM in trace mode to use the log-info printouts instead of manager-trace-handler
...
original commit: 54d556b368e7e10e8d5c2904e8ee02d30fb95dfb
2011-01-22 16:06:47 -06:00
Robby Findler
c7a9484dee
adjustments to the colorer-out-of-sync gizmo
...
(the "()" in the bottom right of the drracket window)
to make sure that it is right when switching tabs
and when a frame is first opened
original commit: 0fe0858ba89477f9a07bd3e15c2dd55684906db8
2011-01-22 16:06:44 -06:00
Robby Findler
eb5f0e41e1
added docs and contract for preferences:get-preference/gui
...
original commit: db13cddef0bdf05be2552eaaf2ad1dc6391a258b
2011-01-22 07:43:57 -06:00
Robby Findler
b8f668ea3a
add match to the default indentation and squarebracket preferences
...
closes PR 11656
closes PR 11653
original commit: 72b7c262904d30a321139c286fa34b7bec17cfaa
2011-01-21 06:47:28 -06:00
Robby Findler
465ba73e39
remove leftover printf and adjust splash screen width default
...
original commit: b25c9591f62cc2984e14c25c9438fb253616fc2d
2011-01-20 15:40:50 -06:00
Robby Findler
fa93a8ee44
adjusted the framework preferences system to work better with failures under windows
...
original commit: cde613218e8b9a64e8495b050f1c9a474ab71afa
2011-01-20 14:07:12 -06:00
Robby Findler
6e4a754a50
Rackety
...
original commit: b2dfe78fb08156dc6f9b89127c8cf4376662550b
2011-01-20 14:05:59 -06:00
Robby Findler
f6ab871af9
fix a bug in the indenter relating to {} tabbing
...
original commit: e95957483c53f2edb64956469da89f010868d76c
2011-01-18 10:54:56 -06:00
Robby Findler
c9d3f9a823
fixes the way alt-enter in the drracket repl works so that it doesn't insert whitespace into the submitted expression
...
closes PR 11621
original commit: 7a85e942a2314822352d0a8aeeace56021e019f2
2011-01-15 16:02:23 -06:00
Robby Findler
9624a40ecf
adjusted how paren matching inside {} works for better tabbing in scribble mode
...
original commit: 666c55953254fee063331290c4fb3784acbd1fa8
2011-01-10 16:56:45 -06:00
Robby Findler
437ba21fd5
change drracket to print the start & end compiling messages when in PLTDRCM=trace mode
...
original commit: b823b94cda6114cab845c81af823e83f7cf7e2d9
2011-01-10 16:56:40 -06:00
Robby Findler
08dbf9be69
setup hooks so that the behavior of the home / c:a keybinings delegates to a method to find where to go
...
then, use that to change how it works for the scheme mode (and also another variation for the REPL to
cope with the prompt)
I spent a while trying to make this work at the keymap% level (ie putting different keybindings for "home"
and "c:a" into different keymaps) but this just turned out to be far too confusing and fragile, so went
with this alternative (one keybinding, but that delegates to an overridable method)
closes PR 11446
original commit: d2cb96bcb39d93f6dac92906bed9885828663798
2011-01-09 16:22:28 -06:00
Robby Findler
ece9db9125
move the text class creation calls back to the end of the file
...
original commit: ad47d346bad2fdb6f5e4b8f9a5a69dda7e7b4726
2011-01-09 15:38:24 -06:00
Matthew Flatt
e7ecd69f95
line number fixes
...
- restore some method augments that I shouldn't have deleted
- handle font change through a style-list callback
original commit: 9d7a7a1520d5be5ccd993dc935f1053e6160e01a
2011-01-07 13:02:33 -07:00
Matthew Flatt
4ea0968815
repairs for line numbers in DrRacket
...
original commit: be6ba896e04a7a0744810883774ee88fde9aa041
2011-01-07 11:57:50 -07:00
Robby Findler
b886a67766
clicking on the preference file indicator now gives stats about the preferences file
...
original commit: d8a3edfc88ebff4e4bca92187b14ccb9038aa07d
2011-01-07 12:33:14 -06:00
Robby Findler
a58b1541a8
remove now useless private field
...
original commit: 21050c24542a905daa6a29ffa04ebae58ff64228
2011-01-06 10:09:09 -06:00
Robby Findler
1f39495448
ask about normalizing pastes only after pasting has finished (in case there are multiple calls to insert)
...
closes PR 11449
original commit: c94ad960acee98198775b4d67743a318303a961c
2011-01-06 08:39:32 -06:00
Robby Findler
e19ce1d98f
use new syntax colorer hooks to provide feedback about syntax coloring in the definitions window in drracket
...
original commit: 33cb5a8b6fc06c560cd4cb9a41d2e7ab3c0e44c0
2011-01-05 20:39:35 -06:00
Robby Findler
d2e13d3f39
added an observer for the colorer
...
original commit: 92d9ce38d3d568daf72ba8f98080cdf9110fc1d9
2011-01-05 20:39:31 -06:00
Matthew Flatt
41d92f6891
fix line-number mixin
...
original commit: c9d2f43398dc4c607ff98278cab93655d3b2af14
2011-01-05 09:57:33 -07:00
Jon Rafkind
b40699d86f
restore dc state after calculating the clipping area
...
original commit: 6c3feabb52bd1e987b3d24a9c54ca74d431dffea
2011-01-04 22:24:36 -07:00
Jon Rafkind
57fded8b41
sest the line number padding when the editor changes. calculate the position to draw at better
...
original commit: d7ac9c4399939dce2ec8562d863b8c8db16a9b19
2011-01-04 22:16:52 -07:00
Robby Findler
51e2a2e86b
make sure all modifications to the splash screen controls happen in the splash's eventspace handler thread
...
original commit: e0c02e66c8dc9e4c69c92f11e777a6bce82422b5
2011-01-04 15:40:33 -06:00
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