Commit Graph

578 Commits

Author SHA1 Message Date
Robby Findler
3424e1b1df only show the compiling messages when PLTDRCM is trace 2010-12-12 15:26:48 -06:00
Robby Findler
4391de9ba6 added a pointer to the serialization functions from the preferences marshalling and unmarshalling 2010-12-12 15:26:46 -06:00
Robby Findler
7512986086 fix docs typo 2010-12-12 15:26:43 -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
5f0430a5ab Fixes doc typos 2010-12-02 19:26:24 -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
Matthew Flatt
820e832853 add 'close-button style to dialog%; fix cocoa default frame placement 2010-11-25 08:03:33 -07: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
Matthew Flatt
61788d68d5 adjust flush-display 2010-11-05 15:54:26 -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
Robby Findler
d419e8c12a changed the ->d contracts to ->i contracts 2010-09-09 14:21:35 -05:00
Robby Findler
44753bc690 adjusted the splash screen code so that the christmas day easter egg is optional (defaultly off) 2010-09-01 13:23:18 -05:00
Robby Findler
12ab498977 added docs for the splash screen library in the framework 2010-09-01 13:23:18 -05:00
Robby Findler
a13c251e5d ugh 2010-08-27 07:25:04 -05:00
Robby Findler
797df5e72c changed back some of Eli's ~e => ~.s changes 2010-08-27 06:48:50 -05: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
Eli Barzilay
f04a60da61 Fix some typos 2010-08-25 17:17:01 -04:00
Eli Barzilay
f5ac792625 reformat text 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
cfe503f1ce updated framework test framework:
- can now test multi-key sequences

- can now use tests with 'escape

- README changed .ss to .rkt

- added test cases for c:c;c:[
2010-08-13 11:01:04 -04: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
83cde5c8fb got rid of some uses of collection-path 2010-07-25 15:15:57 -05:00
Robby Findler
4504678bd7 added local 2010-06-20 21:59:39 -05:00
Robby Findler
ef43830265 added the ability to specify radio button labels as regexps, not just strings 2010-06-18 17:38:26 -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
6563ef6812 rackety framework and tools docs 2010-05-08 07:37:08 -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
Robby Findler
fbf52d6957 renamed the preferences to drracket: 2010-04-29 11:03:06 -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
Robby Findler
30c5d37b81 fixed a bug found by the random testing from randomly-click-language-dialog.ss
svn: r17897
2010-01-30 20:50:18 +00:00
Robby Findler
aee10699ae made the splash screen always be a dialog box
svn: r17810
2010-01-25 12:39:38 +00:00
Robby Findler
ebb815cc68 added a comment to describe all-string-snips
svn: r17778
2010-01-23 16:43:08 +00:00
Robby Findler
3272274f53 improved the icon a little bit more (making it appear on more windows)
svn: r17380
2009-12-21 18:28:24 +00:00
Robby Findler
9f8375c999 under linux, the splash screen is now a dialog (this works better with the ubuntu netbook remix, and probably better in general -- didn't do the switch everywhere b/c mac os x's dialog boxes don't have close boxes)
svn: r17361
2009-12-20 04:10:25 +00:00
Eli Barzilay
48ad997f5b switch #reader to a #lang at-exp
svn: r17242
2009-12-08 20:55:37 +00:00
Eli Barzilay
539519bdad Using a language makes this much cuter. Also use base64.
svn: r17240
2009-12-08 07:02:22 +00:00
Eli Barzilay
2f4d146ee8 half the size of the previous version
svn: r17233
2009-12-07 05:21:09 +00:00
Robby Findler
54adde155a svn: r16995 2009-11-23 17:05:09 +00:00
Robby Findler
47e46efd46 added the various 'for' forms to the square backet default preferences
svn: r16932
2009-11-21 00:15:00 +00:00
Robby Findler
8d96441673 PR 10591
svn: r16897
2009-11-19 20:29:36 +00:00
Carl Eastlund
07849a7fbb Changed Framework icon promises to use delay/sync instead of delay. This
appears to prevent a bug whereby multiple threads attempt to force one of the
promises at the same time, causing the promise to believe it is being used
recursively.  All Framework tests passed (on OS X) after making this change, not
that I really expect the icons to be particularly crucial to the tests.

svn: r16820
2009-11-17 03:42:08 +00:00
Robby Findler
ab78a3ec0c oops committed a bogus change, so rolling it back
svn: r16608
2009-11-07 14:27:52 +00:00
Robby Findler
667e967085 added order-of-magnitude from Jos Koot and some tests for other scheme/math stuff
svn: r16607
2009-11-07 14:26:39 +00:00
Robby Findler
8886736b76 attempted to smooth out the splash screen animation by using wall clock times (via current-milliseconds)
svn: r16529
2009-11-03 20:50:50 +00:00
Robby Findler
0aad314a68 removed dead code
svn: r16517
2009-11-03 15:11:51 +00:00
Robby Findler
ca5a7e604b added Neil's logos to drscheme's splash
svn: r16505
2009-11-02 21:41:20 +00:00
Robby Findler
1203aaa886 removed work around for bug in s-exp reader and improved error message for user-defined keybindings in the wrong language
svn: r16296
2009-10-11 20:56:36 +00:00
Robby Findler
1b6c879736 svn: r16286 2009-10-08 21:12:08 +00:00
Robby Findler
820b63d4a7 svn: r16284 2009-10-08 16:59:55 +00:00
Robby Findler
f86e4e542c svn: r16283 2009-10-08 16:55:06 +00:00
Robby Findler
cde6f8818b minor bugfix
svn: r16130
2009-09-26 15:38:13 +00:00
Mike Sperber
89ec442c04 Merge branches/mike/quickcheck:
Add QuickCheck-based property testing to the DeinProgramm/DMdA languages.

svn: r15901
2009-09-07 16:31:18 +00:00
Robby Findler
83ddd5aeda changed the default for fixing up parentheses
svn: r15867
2009-09-03 12:51:05 +00:00
Robby Findler
a422185219 saved the decimal style for fractions in drs repl
svn: r15865
2009-09-03 10:04:52 +00:00
Robby Findler
e0bd8a6cf0 improved responsiveness of interactive searching
svn: r15841
2009-09-01 05:19:32 +00:00
Robby Findler
fcfa572e02 PRS 10379 and 10377
svn: r15795
2009-08-25 04:51:05 +00:00
Robby Findler
02e4426d06 PR 10406
svn: r15748
2009-08-16 09:56:24 +00:00
Matthew Flatt
450d9b604e DrScheme: only correct a paren if the inserted character would be colored as a parenthesis (which matters for @-form coloring)
svn: r15685
2009-08-07 14:59:14 +00:00
Robby Findler
4592139c0e tweak to the search results printout
svn: r15652
2009-08-01 02:48:07 +00:00
Matthew Flatt
021a65020f fix thaw-colorer, as reflected in restoring coloring in an edtor after test-coverage coloring
svn: r15651
2009-08-01 02:31:51 +00:00
Robby Findler
b5b32d1d8e added automatic compilation to the module language, plus various other tweaks (contract library enhancement, bug fixes here and there)
svn: r15635
2009-07-30 05:17:40 +00:00
Matthew Flatt
d807421a07 extended syntax colorer to support lexer-specific backup; fix problems with new color lexers
svn: r15617
2009-07-29 03:31:29 +00:00
Matthew Flatt
d48332ed26 fix for syntax coloring (4.2.1.4)
svn: r15608
2009-07-28 18:30:21 +00:00
Matthew Flatt
1ba7cf0926 #lang syntax coloring; Scribble syntax coloring
svn: r15607
2009-07-28 18:06:14 +00:00
Matthew Flatt
345c17e85c major Scribble revision (v4.2.1.2)
svn: r15569
2009-07-25 20:25:33 +00:00
Robby Findler
ee8cf97c66 fixed the extrememly-slow-pasting bug (that is only visible on slow machines, apparently)
svn: r15265
2009-06-25 14:43:24 +00:00
Robby Findler
4e766cdca4 PR 10241
svn: r15164
2009-06-13 15:44:12 +00:00
Robby Findler
cdc76526cf added PLTDRPROFILE
svn: r15130
2009-06-10 04:49:38 +00:00
Eli Barzilay
03f50e117f properly indent documentation
svn: r15056
2009-06-02 17:26:15 +00:00
Eli Barzilay
7d7f825a9e fix contract typo (PR10277)
svn: r15055
2009-06-02 17:21:53 +00:00
Robby Findler
e1374bcbd9 PR 10259
svn: r14986
2009-05-25 19:44:56 +00:00
Eli Barzilay
ebc179f059 last typo, hopefully
svn: r14729
2009-05-06 04:09:28 +00:00
Eli Barzilay
82d1267553 forgot the none binding
svn: r14728
2009-05-06 04:08:43 +00:00
Eli Barzilay
7d93d3b539 optimized preference lookup (one hash lookup in all cases except for the first.)
svn: r14727
2009-05-06 04:07:23 +00:00
Eli Barzilay
8ee902de48 old-preferences is gone (it was only there to convert old style preferences, and has been out for a long enough time)
svn: r14726
2009-05-06 03:42:49 +00:00
Eli Barzilay
17d64755a2 * Fixed some typos in the `preferences:low-level-put-preferences' doc
(used `put-preference' not the plural form).

* Added `preferences:low-level-get-preference' that is set by default
  to the `get-preference'.  (Together with the previous one it is
  possible to setup things so preferences are kept in a hash table
  instead of on disk.)

* The `preferences:get' function will try to read a (marshalled) value
  from the preferences if there is no value set, and the `marshalled'
  hash table is gone (it was used only for initial values of
  preferences).

  This means that the preference file is not consulted until the
  preference value is needed, which makes reading the file more lazy.
  More importantly, if some user application sets the
  `preferences:low-level-get-preference' hook, then the newly
  installed hook will be used to read the initial values.  This is
  important since just registering a preference (via
  `preferences:set-default') would already read the preference to the
  `marshalled' hash table -- and many such preferences are registered
  at various module top-levels, so this would happen before the user
  code had any chance of changing the low-level get function.

  The only visible effect of this change outside of this module is
  that preferences are read more lazily from the file.  For example,
  if you start DrScheme and then remove the preference file and then
  search, you will not see your saved search string because.  (Before
  this change, the saved search string would have been read on
  startup, so its value was read before you removed the file.)

* Delayed reading of the old-preferences until needed for similar
  reasons.

* Reformatted some of the documentation strings.

svn: r14716
2009-05-05 05:09:21 +00:00
Eli Barzilay
45e4fe70da hash-table-bound? -> hash-has-key?
svn: r14715
2009-05-04 21:35:15 +00:00
Eli Barzilay
8b4844cf5e some typos
svn: r14709
2009-05-04 09:34:07 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
Robby Findler
1cb53bdf2a improvements to the preferences dialog
svn: r14670
2009-04-30 23:15:10 +00:00
Robby Findler
955f99fe41 svn: r14624 2009-04-27 14:32:30 +00:00
Eli Barzilay
64b59f2b28 fix a subtle bug (canvas could be #f)
svn: r14584
2009-04-22 09:21:54 +00:00
Robby Findler
104dde2a08 added back in support for the with-border? flag
svn: r14561
2009-04-19 22:20:46 +00:00
Matthew Flatt
ce9d264920 don't let syntax-colorer thread get suspend while reading from the editor
svn: r14531
2009-04-16 19:20:44 +00:00
Robby Findler
0c2c04e168 shrunk the height of the preferences window
svn: r14528
2009-04-16 17:18:35 +00:00
Robby Findler
405ade4765 svn: r14517 2009-04-15 03:18:11 +00:00
Eli Barzilay
6b67f941fe use .ss suffix, both .scm and .ss for the filters, and a descriptive name
svn: r14502
2009-04-14 02:08:05 +00:00
Robby Findler
4883d8bb1d svn: r14499 2009-04-13 18:01:18 +00:00
Matthew Flatt
1d26e97a35 Scheme-implemented editor classes; on-demand instantiation of module phases
svn: r14445
2009-04-07 17:12:22 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00
Stevie Strickland
99aac7d745 Sam and I did some work to allow automatic inferred linking in
(define-values/)invoke-unit/infer.

svn: r14315
2009-03-27 13:47:12 +00:00
Robby Findler
ca2dd05eca svn: r14027 2009-03-10 14:38:19 +00:00
Robby Findler
283c1819a9 a bunch of improvements to the splash screen (loads less code before the splash appears, got rid of a bunch of dynamic-requires that were not necessary, fixed the lack of special screen on prince kuhio and king kamehameha days, got rid of the flicker in the tools icons)
svn: r13980
2009-03-06 16:35:04 +00:00
Matthew Flatt
128d5287f7 add and use at-exp meta-language
svn: r13731
2009-02-18 23:14:18 +00:00
Matthew Flatt
941a8935aa remove unneeded dependency of framework on parts of Scribble; Redex doc repairs; add #:style? argument to deftech
svn: r13696
2009-02-17 15:22:55 +00:00
Robby Findler
ef36f329b7 added log-viewing support to DrScheme
svn: r13291
2009-01-27 14:23:18 +00:00
Robby Findler
651057a78f added alt:space for mac os x
svn: r13239
2009-01-20 17:50:56 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Robby Findler
c600eedb32 svn: r13101 2009-01-14 01:43:30 +00:00
Robby Findler
de4158dfa5 changed f3 to behave like the 'edit|find' menu item
svn: r12978
2009-01-02 21:31:28 +00:00
Robby Findler
c2685be3a9 added preference that disables overwrite mode
svn: r12917
2008-12-21 07:21:28 +00:00
Robby Findler
41d0609ad2 uses system-position-ok-before-cancel? now
svn: r12754
2008-12-09 18:06:03 +00:00