Commit Graph

36 Commits

Author SHA1 Message Date
Robby Findler
39e4ac15e5 bring 'jump to definition' more in line with online check syntax
That is, when right-clicking on an imported identifier, if the
file that has that identifier's definition is open and online
check syntax has completed, then offer a "jump to definition" menu
item that just jumps there with the already computed informtion.
If the file isn't open or online check syntax hasn't completed,
instead offer just to go to the file, without jumping to the definition

also
- things should generally work slightly better with submodules
- jumping to identifiers should do a better job with scrolling,
  specifically it should scroll so the jumped-to identifier is
  about 20% from the top of the window (unless it was already visible,
  in which case no scrolling should occur)
2013-03-05 22:39:34 -06:00
Robby Findler
e19243329c adjust drracket to track an lru order on tabs and use it
when closing one to pick the next one to show

added the touched and get-last-touched methods to tab<%>
2012-12-19 10:50:01 -06:00
Robby Findler
8ee76c9547 Add index entries for @defconstructor (and friends). Also add
code that skips over them when building the search indices.
Overall, this means that the only change most people would see
is that multiple constructors in the same class will get a warning
(and there was one of those, so fixed that too).

Also, Rackety. Specifically, transformed this surprising combination
of constructs (where all caps are placeholders for something specific):

((if PRED
     (λ (c mk) BODY2)
     (λ (c mk) BODY1))
 content
 (lambda (tag) BODY3))

into this one:

(define (mk tag) BODY3)
(if PRED
    BODY1{c:=content}
    BODY2{c:=content})
2012-08-11 21:52:48 -05:00
Robby Findler
488cfed53a typo 2012-07-17 13:07:40 -05:00
Robby Findler
f61f0830e5 change register-toolbar-button so that it accepts a number
argument and uses that to order the buttons in the DrRacket
panel.

Also, order all of the buttons via these numbers in
a more sane way
2012-02-25 16:57:49 -06:00
Robby Findler
458e2c2282 some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:' 2011-11-30 06:45:50 -06:00
Eli Barzilay
319a158dec Make `create-new-tab' public. 2011-10-17 13:18:18 -04:00
Eli Barzilay
8f66afe5a6 Document next-tab' and prev-tab'. 2011-10-17 13:18:18 -04:00
Robby Findler
721cdba2c1 adjst check syntax so that it only clears out style changes when clicking 'Run'
(style changes are not applied when running online check syntax)
2011-10-02 10:18:36 -05:00
Robby Findler
41e22a6e3f added the ability to tell drracket to run a program and then run something after that
used that ability to make the scribble buttons work better
2011-08-24 11:25:26 -05:00
Eli Barzilay
d61eb53686 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Robby Findler
b972a0940d Added online expansion and compilation of files
being edited in DrRacket (via places)

Added an API to let tools have access to that
  information (and compute more stuff)

Used that to make an online version of Check Syntax
  which led to a separately callable Check Syntax API.
2011-08-02 16:28:16 -05:00
Eli Barzilay
ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Robby Findler
511d48fa5e removed bogus methods from docs (leftovers from when the functionality was in a different place than it currently is (I think))
closes PR 11999
2011-06-23 22:35:18 +08:00
Eli Barzilay
1be26400cb Some random tidyings. 2011-02-16 15:26:15 -05:00
Robby Findler
880fa2df0d Fixed drracket/tools-lib so that it exports drscheme:* names 2010-06-02 09:34:10 -05:00
Matthew Flatt
6563ef6812 rackety framework and tools docs 2010-05-08 07:37:08 -06:00
Robby Findler
1f5f0fb760 started updating the docs to say drracket: instead of drscheme: 2010-04-27 09:19:44 -05:00
Robby Findler
1d378bc6d7 fixed a broken reference
svn: r18254
2010-02-21 12:37:06 +00:00
Robby Findler
95debe6353 added keyboard shortcuts for the first 9 tabs to the windows menu (on the mac)
svn: r18245
2010-02-21 02:06:57 +00:00
Robby Findler
cb56a1e604 added open-in-new-tab docs
svn: r17142
2009-12-01 18:09:29 +00:00
Robby Findler
be20c0747c added support for changing toolbar buttons based on the #lang line (when in the module language) and use that support for #lang scribble/base
svn: r16449
2009-10-29 16:01:40 +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
Robby Findler
96651516e8 made close-current-tab be public
svn: r12643
2008-11-30 04:57:03 +00:00
Carl Eastlund
f0b72082eb Fixed typos in Plugin docs:
Many contracts had redundant @scheme[...] around them,
which rendered as (scheme ...) in the final product.

svn: r12546
2008-11-20 21:15:21 +00:00
Carl Eastlund
edbbca1fa2 Fixed contracts in get-ints/get-defs.
svn: r11225
2008-08-13 19:05:18 +00:00
Carl Eastlund
80699eddb0 get-defs and get-ints were swapped in documentation of get-definitions-text and get-interactions-text
svn: r11189
2008-08-11 20:43:15 +00:00
Eli Barzilay
bf86c29bb7 fixed some latex leftovers, and convenient way to make headers and include-extracted
svn: r10723
2008-07-12 07:07:19 +00:00
Robby Findler
90fbc2e14b fixed some bugs in the docs
svn: r9938
2008-05-23 00:16:02 +00:00
John Clements
29322e6ccb minor fixes
svn: r9934
2008-05-22 22:09:41 +00:00
Robby Findler
a8fd2e018c added an explicit registration for the toolbar switchable-buttons
svn: r9882
2008-05-18 22:59:02 +00:00
Robby Findler
cf6c45e0c3 added get-language-menu
svn: r9820
2008-05-13 02:37:36 +00:00
Robby Findler
233e8431bc a tools manual that contains all of the bindings (but with lots of editing still to go)
svn: r9752
2008-05-08 21:16:28 +00:00
Robby Findler
06463490f3 a little progress on the tools manual
svn: r9724
2008-05-07 17:57:14 +00:00
Robby Findler
56af42785d oops, wrong commit, fixed now
svn: r9671
2008-05-05 22:36:35 +00:00
Robby Findler
89963f0082 a first cut of the tools manual converted to scribble
svn: r9670
2008-05-05 22:35:26 +00:00