Commit Graph

46 Commits

Author SHA1 Message Date
Robby Findler
28406b9a76 remove the restriction that new preferences can be registered only before a snapshot is grabbed
also improve the docs a little bit and some Rackety
2016-03-08 09:29:03 -06:00
Robby Findler
da7a258da8 bring down below 102 columns and fix a set! expression
to actually have an effect
2016-03-07 08:30:32 -06:00
Robby Findler
ab063326fe change indentation strategy for sequences whose head is a keyword
assume that these are part of some internal structure of something
that, in general looks like

  (#:x 1 #:y 2 #:z 3)

and so prefer to indent like this:

  (#:x 1
   #:y 2
   #:z 3)

instead of like this:

  (#:x 1
       #:y 2
       #:z 3)
2016-02-25 10:37:44 -06:00
Robby Findler
c8c8ce64eb use the right font for sizing the line numbers invalidate region
closes #41
2016-02-19 09:03:39 -06:00
Robby Findler
8e81b5346a don't color parens when the colorer is stopped 2016-02-10 09:19:33 -06:00
Robby Findler
e9e2940138 adjust indentation so that it treats only symbols as things with
special indentation

(this could only come about if the regexp specification in the prefernces
matched (the printed out) version of strings, so it wouldn't happen with
the default preferences)
2016-02-09 13:44:30 -06:00
Leif Andersen
9411eb44c4 Add with-* to the set of lambda like expressions. 2016-02-06 19:45:57 -05:00
Robby Findler
debd229668 guard call 2015-12-15 14:20:12 -06:00
Robby Findler
be9cd36922 added editor:font-size-message% 2015-11-27 10:41:57 -06:00
Robby Findler
fe77bb34d4 more on scroll-by-copy
make it per-editor customizable, add callbacks, and use
them to make the special first line mixin work properly
when it is enabled
2015-11-26 13:11:47 -06:00
Robby Findler
1dca74da1d add earlier check to help suss out bad mixin compositions 2015-09-16 10:44:56 -05:00
Vincent St-Amour
1b8b9b94fe Use option contracts from racket/contract/option. 2015-09-14 14:33:32 -05:00
Robby Findler
e5cb582ed5 change the preferences defaults so that the default for bold in the color
schemes isn't "turn it off" but instead "defer to the default"
2015-09-14 09:43:19 -05:00
Vincent St-Amour
231f8ad6a9 Use 2d instead of unstable/2d. 2015-09-07 18:40:58 -05:00
Robby Findler
5d815a0345 add the framework:standard-style-list:weight preference 2015-09-05 17:35:15 -05:00
Vincent St-Amour
77f58c1e3a Move unstable/gui/notify to framework/notify. 2015-08-18 16:41:25 -05:00
Robby Findler
204c0b6694 fix bug in spell checker refactoring from 3dcecc00 2015-08-14 05:48:29 -05:00
Matthew Flatt
9a1d8f7215 unbreak framework 2015-08-13 10:51:46 -06:00
Robby Findler
3dcecc00ae refactor to do some random testing 2015-08-13 09:11:09 -05:00
Alexis King
63b27a8eeb Use a regular expression to indent for loops in framework 2015-08-02 22:08:52 -05:00
Robby Findler
f91ec3df28 fix all-string-snips? predicate 2015-07-25 16:44:22 -05:00
Robby Findler
2d654de678 use the proper preferences panel 2015-07-22 12:18:32 -05:00
Robby Findler
b528e0e682 limit font sizes to exact integers in [0,255] 2015-06-26 10:47:12 -05:00
Robby Findler
91dd69ba8d a hack that tries to make it so that the open-recent menu
item is wrong less often
2015-06-05 09:37:23 -05:00
Robby Findler
1db898cd00 fix indentation for datum-case 2015-06-05 09:37:12 -05:00
Robby Findler
6dcdb9744f use the info-frame's idea of which editor is important for the
goto-line shortcut
2015-05-12 11:24:54 -05:00
Robby Findler
d1e3a991cd disable overwrite mode when the overwrite keybindings are disabled 2015-05-12 09:02:53 -05:00
Robby Findler
ab998c9f53 add all-string-snips<%> and all-string-snips-mixin
This is pulled out of DrRacket, mostly just to be able to add test cases
2015-05-09 11:17:54 -05:00
Robby Findler
d9fd94f608 fix handling of snip%s that don't have a snipclass 2015-05-04 18:01:47 -05:00
Robby Findler
469add8d57 add 'snip-special's to text:ports<%> in the framework
related to PR 15049
2015-05-02 17:49:19 -05:00
Robby Findler
955eb9755c remove problematic and unecessary syncronization 2015-04-30 09:01:46 -05:00
Robby Findler
c33027cfea refactor to separate the two modes of flushing into their own separate pieces of code 2015-04-30 08:57:53 -05:00
Robby Findler
42f50a7c08 only set the extension to .rkt if it looks like it isn't set to anything useful already 2015-04-19 07:22:45 -05:00
Robby Findler
cb651731d0 refactor to introduce compute-amount-to-indent 2015-04-17 11:37:09 -05:00
Robby Findler
134144a4ce generalize coroutines so the pause function optionally takes
into account the amount of cpu time used
2015-04-09 21:16:55 -05:00
Robby Findler
6ddf433c3e add missing identifiers to color:text<%> 2015-04-09 21:14:39 -05:00
Robby Findler
724d8d7bda add a test case for capitalize word 2015-03-14 13:05:27 -05:00
Robby Findler
ce926b4692 pull the keybindings code out of the framework compound unit structure 2015-03-14 13:05:27 -05:00
Max New
63038285e5 Delete trailing whitespace on return 2015-03-10 09:28:04 -05:00
Robby Findler
027ce3bdc2 fix drawing bug in line-numbers and special-first-line support
This drawing bug was that the DC's state wasn't being
initialized all of the way. In particular, the text-mode
wasn't being set and so, in rare occasions, other drawing
code would (legally) leave it in 'solid mode with a non-white
background color also set. Which would cause those two things
to draw incorrectly.
2015-01-15 16:31:26 -06:00
Robby Findler
927289cd8e make the search/replace button actually finish
all the internal work before returning from the button callback

closes PR 14906
2014-12-30 11:59:30 -06:00
AlexKnauth
237a24261d fix typo (open-input-string) -> (open-output-string) 2014-12-26 01:30:07 -06:00
Robby Findler
c494bf367e protect against errors while loading color schemes
closes PR 14884
2014-12-13 14:37:18 -06:00
Robby Findler
9551380791 add after-set-port-unsaved-name and set-port-unsaved-name 2014-12-11 21:33:42 -06:00
Robby Findler
df7cccdb43 fix queue manipulations in text:ports-mixin
closes PR 14871

test case included in drracket repo
2014-12-08 13:24:57 -06:00
Sam Tobin-Hochstadt
135e357a37 Remove extra directories. 2014-12-02 02:33:07 -05:00