Jon Rafkind
7f3f861899
add documentation for the splitter mixin
2011-02-08 14:47:07 -07:00
Jon Rafkind
878787e6f3
add mixin for splitting panels
2011-02-08 14:47:07 -07:00
Robby Findler
49c3011f49
started to fix the colorer problems (now that I undestand how!)
...
plus some extra checking in the colorer
2011-02-08 10:02:42 -06:00
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07:00
David Van Horn
c9519fd113
Fixed various spelling errors.
2011-02-03 17:42:33 -05:00
Robby Findler
63aa388d49
missed a multiple-vlaues change in a short-cut case.
...
Please merge to the 5.1 release branch
2011-02-02 17:27:26 -06:00
Robby Findler
8c6c1a0e9b
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
2011-02-01 14:52:18 -06:00
Robby Findler
ce4bf97bde
monitor the font size preference in order to redo the one-line size computation for the search bar
...
closes PR 11687
2011-01-31 17:46:31 -06:00
Robby Findler
4090eabacb
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
2011-01-29 12:28:26 -06:00
Matthew Flatt
96fd11eede
DrRacket line numbers: fix condition for whether to draw a number
2011-01-28 06:22:28 -07:00
Robby Findler
efb66b0cc4
disable the new {} indentation until it can be done in a #lang language-specific way
2011-01-27 11:21:46 -06:00
Robby Findler
71236aa48c
make completions box handle clicking around a little bit better
2011-01-25 20:58:50 -06:00
Robby Findler
f182d0def4
drop superflous dependency on srfi1
2011-01-25 20:58:47 -06:00
Robby Findler
e0703e251b
fix sizing and font inconsistencies in the completions box
2011-01-25 20:58:44 -06:00
Robby Findler
0fe0858ba8
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
2011-01-22 16:06:44 -06:00
Robby Findler
72b7c26290
add match to the default indentation and squarebracket preferences
...
closes PR 11656
closes PR 11653
2011-01-21 06:47:28 -06:00
Robby Findler
cde613218e
adjusted the framework preferences system to work better with failures under windows
2011-01-20 14:07:12 -06:00
Robby Findler
e95957483c
fix a bug in the indenter relating to {} tabbing
2011-01-18 10:54:56 -06:00
Robby Findler
7a85e942a2
fixes the way alt-enter in the drracket repl works so that it doesn't insert whitespace into the submitted expression
...
closes PR 11621
2011-01-15 16:02:23 -06:00
Robby Findler
666c559532
adjusted how paren matching inside {} works for better tabbing in scribble mode
2011-01-10 16:56:45 -06:00
Robby Findler
d2cb96bcb3
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
2011-01-09 16:22:28 -06:00
Robby Findler
ad47d346ba
move the text class creation calls back to the end of the file
2011-01-09 15:38:24 -06:00
Matthew Flatt
9d7a7a1520
line number fixes
...
- restore some method augments that I shouldn't have deleted
- handle font change through a style-list callback
2011-01-07 13:02:33 -07:00
Matthew Flatt
be6ba896e0
repairs for line numbers in DrRacket
2011-01-07 11:57:50 -07:00
Robby Findler
d8a3edfc88
clicking on the preference file indicator now gives stats about the preferences file
2011-01-07 12:33:14 -06:00
Robby Findler
21050c2454
remove now useless private field
2011-01-06 10:09:09 -06:00
Robby Findler
c94ad960ac
ask about normalizing pastes only after pasting has finished (in case there are multiple calls to insert)
...
closes PR 11449
2011-01-06 08:39:32 -06:00
Robby Findler
33cb5a8b6f
use new syntax colorer hooks to provide feedback about syntax coloring in the definitions window in drracket
2011-01-05 20:39:35 -06:00
Robby Findler
92d9ce38d3
added an observer for the colorer
2011-01-05 20:39:31 -06:00
Matthew Flatt
c9d2f43398
fix line-number mixin
2011-01-05 09:57:33 -07:00
Jon Rafkind
6c3feabb52
restore dc state after calculating the clipping area
2011-01-04 22:24:36 -07:00
Jon Rafkind
d7ac9c4399
sest the line number padding when the editor changes. calculate the position to draw at better
2011-01-04 22:16:52 -07:00
Robby Findler
7eb3e8c28a
change drracket and framework so they don't rebind printf anymore
...
(instead binding oprintf to print to the original output port of drracket)
2011-01-02 10:03:24 -06:00
Robby Findler
465d5a9f75
adjust check to only insist that, when there is an editor, is it the right kind of editor.
2011-01-02 10:03:21 -06:00
Jon Rafkind
11494ce8b9
use padding instead of manually moving the origin
2010-12-31 19:29:34 -07:00
Robby Findler
6f9bcf0001
Rackety
2010-12-31 09:58:54 -06:00
Robby Findler
900d74714e
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
2010-12-31 09:58:51 -06:00
Robby Findler
b2a297afaf
framework: change status line so they never contribute to the minimum width of the frame
...
related to PR 10880
2010-12-30 21:27:11 -06:00
Robby Findler
4e40efaf37
framework: sometimes put the text completion menu above the line instead of below it
...
closes PR 10829
2010-12-28 07:33:26 -06:00
Robby Findler
f849f25272
Rackety
2010-12-28 07:33:24 -06:00
Robby Findler
4c796a6445
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!)
2010-12-20 12:22:46 -06:00
Robby Findler
32851bddf9
set the font for the flashing 'P' to be the small-control-font
2010-12-10 11:47:08 -06:00
Robby Findler
ac8fd51bc4
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
2010-12-10 11:47:05 -06:00
Robby Findler
9a485dd492
added set-orientation method to panel:dragable (lets the panels
...
change from being vertically aligned to horizontally aligned, even
after they have been created)
2010-12-09 15:50:08 -06:00
Robby Findler
81de0c1337
changed the 'cancel' button to say something more accurate
...
closes PR 11473
2010-12-08 21:31:47 -06:00
Robby Findler
dd081d9b4e
added a tabs menu for windows (and linux)
2010-12-07 16:33:51 -06:00
Casey Klein
fbd7bdff54
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.
2010-12-02 15:56:08 -06:00
Robby Findler
de0103129b
avoid saving the preferences on each keystroke in the find/replace dialog
2010-12-01 14:09:33 -06:00
Robby Findler
2125535e06
change the behavior for closing the preferences window.
...
closes PR 11473
2010-11-30 09:57:19 -06:00
Jon Rafkind
ee62bae74b
save/restore dc state while drawing line numbers
2010-11-14 19:48:21 -07:00
Robby Findler
e9c90dc580
add .scrbl to liked extensions in drracket
2010-11-09 09:04:14 -06:00
Jon Rafkind
d920cdc945
set pen to black so the line separator is drawn in the right color
2010-11-08 18:10:08 -07:00
Jon Rafkind
96018f258c
check last-line + 1
2010-11-07 12:19:49 -07:00
Jon Rafkind
74fce96d92
add dx offset when drawing
2010-11-07 12:06:34 -07:00
Matthew Flatt
d7f1d12ea1
clean up
2010-11-05 15:54:49 -06:00
Jon Rafkind
e0e3870a62
dont modify positions if line numbers arent being shown
2010-11-05 15:43:20 -06:00
Jon Rafkind
a698d89a75
adjust x position when finding editor locations
2010-11-05 15:15:01 -06:00
Jon Rafkind
c0d504b7b8
use a lighter color for same paragraph lines
2010-11-04 11:56:36 -06:00
Jon Rafkind
9742f896f9
right align numbers
2010-11-04 11:56:36 -06:00
Jon Rafkind
d1e44d0cc8
set minimum line width to accept 100 lines
2010-11-03 17:59:40 -06:00
Jon Rafkind
c3111c425b
allow line number width to increase automatically
2010-11-03 17:58:18 -06:00
Jon Rafkind
1093b4a430
get the line number from the paragraph
2010-11-03 17:16:34 -06:00
Jon Rafkind
68c197f639
clean up line numbers code
2010-11-03 15:15:54 -06:00
Jon Rafkind
4a69c36258
use line locations instead of counting snips
2010-11-03 14:56:05 -06:00
Casey Klein
bd0ebc7511
Adds auto-completion to LaTeX and TeX inspired keybindings
2010-11-02 22:34:05 -05:00
Jon Rafkind
87cc623a6f
set clipping for regular text. minor optimization when choosing line numbers to draw
2010-11-02 13:09:54 -06:00
Jon Rafkind
eb89a429e7
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
2010-11-01 23:45:00 -06:00
Jon Rafkind
18504774f0
cleanup code. attempt to add preference for line numbers in the general tab. closes pr11367
2010-11-01 22:14:45 -06:00
Jon Rafkind
4f3e87d42a
replace the line number widget in drracket with the new mixin from the framework
2010-11-01 22:14:45 -06:00
Jon Rafkind
281138d4b8
clean up line numbers implementation
2010-11-01 22:14:45 -06:00
Jon Rafkind
dc6350244d
add first draft of a mixin for text% objects that displays line numbers
2010-11-01 22:14:44 -06:00
Robby Findler
0614da5992
adjusted the recently opened menu items code so that it does not create all of the menu items as often
2010-10-17 10:25:08 -05:00
Eli Barzilay
42e76eaaf4
Encode any text instead of going through a pretty-printer.
2010-10-14 13:46:51 -04:00
Matthew Flatt
aac7e0b58a
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
2010-09-19 19:22:22 -06:00
Robby Findler
5b54caebb0
closes PR 11207
2010-09-13 16:41:12 -05:00
Jay McCarthy
12fb39f5bd
Adding PLAI keywords to default indent
2010-09-13 10:29:03 -06:00
Eli Barzilay
7dc4d2e5a6
Change a bunch of "~%" and "~n" in format strings to "\n".
2010-08-25 17:17:01 -04:00
Eli Barzilay
606b7f60dc
Lots of "~e" to "~.s" changes.
2010-08-25 17:17:01 -04:00
Robby Findler
5de6ff2ada
Adjusts the prompt handling so that it submits expressions that signal
...
arbitrary read errors, but does not submit those that raise eof errors.
closes PR 11126
2010-08-24 20:06:45 -05:00
Robby Findler
672355f823
added for/fold to square-bracket default prefs
2010-08-17 10:40:14 -05:00
John Clements
0f0438479e
modified key bindings to enable ()/[] toggling using c:c;c:[
2010-08-13 11:01:04 -04:00
Robby Findler
d2802a0ed7
whoops, PR 11065 was wrong
2010-07-31 09:39:44 -05:00
Robby Findler
1b25f2241f
closes PR 11065
2010-07-31 08:06:17 -05:00
Robby Findler
2309856e2a
from commentary following up in PR 11054
2010-07-28 15:14:08 -05:00
Robby Findler
4504678bd7
added local
2010-06-20 21:59:39 -05:00
Robby Findler
716aacf388
changed the framework's standard menus frame so that the quit menu is
...
never created under mac os x (which is the right behavior to make quit
actually work properly).
2010-06-08 16:45:15 -05:00
Eli Barzilay
9c352f5704
More svn -> git changes.
...
Some mentions of svn/subversion are replaced with git, and some patterns
for paths to ignore include ".git*". (Note ".mailmap" not added, might
need to.)
2010-05-17 05:41:04 -04:00
Eli Barzilay
7f6efdc8be
A lot of "MrEd" -> "GRacket"s.
2010-05-16 23:46:05 -04:00
Eli Barzilay
3219d28e9d
repos-time-stamp -> repo-time-stamp
2010-05-15 16:48:04 -04:00
Matthew Flatt
ed1d7f81c9
move drscheme and tests/drscheme to drracket and tests/drracket
2010-05-09 15:34:50 -06:00
Matthew Flatt
c023c460bc
misc racket renamings
2010-05-07 11:03:02 -06:00
Robby Findler
073d947a4c
adjusted the way anchored search works so that swithing tabs in drscheme starts you with a new anchor
2010-04-29 17:03:32 -05:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Sam Tobin-Hochstadt
2bda6af6b0
Fix obvious bug.
...
svn: r18660
2010-03-29 15:01:29 +00:00
Robby Findler
99ee6c468f
fixed a bug found by random testing
...
svn: r18621
2010-03-25 19:32:22 +00:00
Robby Findler
1c72ed7a20
a bug found via random testing
...
svn: r18582
2010-03-19 13:20:30 +00:00
Robby Findler
2ce01fd5ce
PR 10704
...
svn: r18323
2010-02-24 17:58:59 +00:00
Robby Findler
f1e7c7e4b0
Probably fix for PR 10773
...
svn: r18264
2010-02-22 18:04:04 +00:00
Eli Barzilay
c88a5a6856
A bunch of additional typos
...
svn: r17976
2010-02-05 03:21:52 +00:00
Robby Findler
9d34139659
use the basic-style method instead of the name of the basic style
...
svn: r17921
2010-02-01 15:15:22 +00:00