mirror of
https://github.com/golang/go
synced 2024-11-14 14:30:23 -07:00
4bdaf59cc9
Regular expressions may now be used in conjuction with full text search. Godoc will show the first 10000 occurences in the source code and highlight the respective text segments. - added new flag -testDir to specify a small directory for testing (fast index creation; default = "") - use new FormatText function to format text and Go source code in HTML, supporting multiple kinds of text selections simulatenously); this replaces the uses of go/printer Stylers - for now removed currently unused mechanism for identifier- specific JS popups (will come back in some form once we have type or other useful information) - various typo fixes and minor cleanups throughout Missing: - indexing of non-.go files R=r, r2 CC=golang-dev, rsc https://golang.org/cl/3699041
62 lines
842 B
Plaintext
62 lines
842 B
Plaintext
QUERY
|
|
{Query}
|
|
|
|
{.section Alert}
|
|
{@}
|
|
|
|
{.end}
|
|
{.section Alt}
|
|
DID YOU MEAN
|
|
{.repeated section Alts}
|
|
{@}
|
|
{.end}
|
|
|
|
{.end}
|
|
{.section Hit}
|
|
{.section Decls}
|
|
PACKAGE-LEVEL DECLARATIONS
|
|
|
|
{.repeated section @}
|
|
package {Pak.Name}
|
|
{.repeated section Files}
|
|
{.repeated section Groups}
|
|
{.repeated section Infos}
|
|
{File.Path|url-src}:{@|infoLine}
|
|
{.end}
|
|
{.end}
|
|
{.end}
|
|
|
|
{.end}
|
|
{.end}
|
|
{.section Others}
|
|
LOCAL DECLARATIONS AND USES
|
|
|
|
{.repeated section @}
|
|
package {Pak.Name}
|
|
{.repeated section Files}
|
|
{.repeated section Groups}
|
|
{.repeated section Infos}
|
|
{File.Path|url-src}:{@|infoLine}
|
|
{.end}
|
|
{.end}
|
|
{.end}
|
|
|
|
{.end}
|
|
{.end}
|
|
{.end}
|
|
{.section Textual}
|
|
{.section Complete}
|
|
{Found} TEXTUAL OCCURENCES
|
|
{.or}
|
|
MORE THAN {Found} TEXTUAL OCCURENCES
|
|
{.end}
|
|
|
|
{.repeated section @}
|
|
{Lines|numlines} {Filename|url-src}
|
|
{.end}
|
|
{.section Complete}
|
|
{.or}
|
|
... ...
|
|
{.end}
|
|
{.end}
|