Commit Graph

453 Commits

Author SHA1 Message Date
Vincent St-Amour
5592e9b34b Add more TR keywords to tabify list. 2011-04-28 16:19:58 -04:00
Eric Dobson
cfab042e54 Added TR keywords to default tabify list 2011-04-28 16:19:58 -04:00
Robby Findler
658bc59a92 adjust various status controls so they don't take the focus
also added a separator menu item to the line/column number popup menu
2011-04-11 07:41:49 -05:00
Robby Findler
c4e0559db4 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
2011-04-10 19:38:19 -05:00
Robby Findler
bb792c977d 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
2011-04-08 07:48:17 -05:00
Jon Rafkind
576916d4d7 line numbers separator uses the same color as the text 2011-04-04 13:07:25 -06:00
Robby Findler
82933e8019 fixed the 'find the word behind the insertion point' function for racket-mode completion
closes PR 11800
2011-03-30 19:07:08 -05:00
Robby Findler
e28a6832ca fixes descent/ascept problems and text highlighting problems in number snips
closes PR 11825
2011-03-29 22:43:26 -05:00
Robby Findler
fe75ed9a39 adjusted the color preferences button placement to avoid such a wide prefs dialog 2011-03-26 10:53:23 -05:00
Robby Findler
3b4ba31d74 set the save-as menu shortcut to s and the prefix to shift 2011-03-25 20:18:52 -05:00
Robby Findler
e6633d2af1 use the new extend-position functionality to adjust the shift-based key bindings implemented in the framework
closes PR 11768
  closes PR 11806
2011-03-25 15:19:55 -05:00
Robby Findler
87e637a1cc - 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
2011-02-17 12:27:00 -06:00
Robby Findler
8e94ce49e4 lift the restriction that the text:ports mixin
cannot do io from the eventspace handler thread
and add a test suite for text:ports
2011-02-15 18:10:02 -06:00
Jon Rafkind
5bb72d5b0e use the standard editor style to get the right colors in the line
numbers mixin. closes pr11655
2011-02-09 14:36:58 -07:00
Robby Findler
d659d2f0af changed the module lexer's strategy to be able to handle
the part of the buffer before the #lang line properly
  closes PR 11381
2011-02-09 15:27:05 -06:00
Matthew Flatt
33db7b1229 fix s:home keybinding
Merge to 5.1
2011-02-09 12:43:18 -07:00
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