Commit Graph

23 Commits

Author SHA1 Message Date
Ryan Culpepper
7fb542cbf5 removed useless requires
original commit: c7f86d276c68b12e87dc46cef4a8e1b95538f88d
2011-09-27 19:28:44 -06:00
Robby Findler
bbe4958a59 fix the collapsed snipclass so that it cooperates with the wxme library and
thus saved files with collapsed snips can be required in non-GUI contexts

original commit: 89ef65a7461a4b91cd3f0c28231f74c593f165ee
2011-09-13 14:58:39 -05:00
Robby Findler
19763add70 fix the auto-square-bracket thing for with-syntax
closes PR 12096

original commit: 40c68df514e54212113db57cdd7855ec7bd51098
2011-08-08 19:30:13 -05:00
Robby Findler
59afeb677a adjust the tabify and tabify-selection methods so they do nothing when the colorer is frozen or stopped
closes PR 12087

original commit: a090a0e903eee77890d7355e0861bfdbec9e2750
2011-08-05 21:39:31 -05:00
John Clements
bc8fb85de2 unimportant tabbing fixup
original commit: e178dbc4f245cbeed487e8a8efd62fbab13ec8e0
2011-07-28 22:51:00 -04:00
John Clements
61deb48a44 added automatic parens preference
original commit: b14ac37d99858854dfab1e6881c750c7534f8465
2011-07-12 12:23:08 -07:00
Eli Barzilay
950c968e77 ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
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
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
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
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
David Van Horn
5007d739fc Fixed various spelling errors.
original commit: c9519fd11300b07292df8619e86f48533eff6e4d
2011-02-03 17:42:33 -05: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
f6ab871af9 fix a bug in the indenter relating to {} tabbing
original commit: e95957483c53f2edb64956469da89f010868d76c
2011-01-18 10:54:56 -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
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
570a0957a5 add .scrbl to liked extensions in drracket
original commit: e9c90dc580a4a49132dc7ec33b9380708888e954
2010-11-09 09:04:14 -06:00
Robby Findler
a717919298 closes PR 11207
original commit: 5b54caebb066920e2585244a5ee444a3f121c966
2010-09-13 16:41:12 -05:00
Robby Findler
fe82be3d45 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

original commit: 5de6ff2ada89c94e0f854dfd44e95471b6df0dc5
2010-08-24 20:06:45 -05:00
John Clements
8ab6488889 modified key bindings to enable ()/[] toggling using c:c;c:[
original commit: 0f0438479ecb8ccab96847ff12d668f5c26fa028
2010-08-13 11:01:04 -04:00
Matthew Flatt
a1a63c0e08 move drscheme and tests/drscheme to drracket and tests/drracket
original commit: ed1d7f81c922c814b8c0657dd952abf4b9c75cdc
2010-05-09 15:34:50 -06:00
Matthew Flatt
36405c90a5 misc racket renamings
original commit: c023c460bce4996af6038a78aed2b0103252404b
2010-05-07 11:03:02 -06:00
Matthew Flatt
5adf804728 rename all files .ss -> .rkt
original commit: 28b404307793f041bb3363135a2968e283855318
2010-04-27 16:50:15 -06:00