aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.cpp
Commit message (Collapse)AuthorAge
* Teach the highlighter about multiple adjacent square bracket expansionsGravatar ridiculousfish2014-09-30
| | | | Fixes #1627
* Remove a redundant ivar setGravatar ridiculousfish2014-09-22
|
* Merge pull request #1630 from kballard/expand_variables_in_quoted_stringsGravatar ridiculousfish2014-08-23
|\ | | | | Fix various expansions issues with variables
* | Highlight pipe characters correctlyGravatar Kevin Ballard2014-08-22
| | | | | | | | | | According to `fish_config`'s colors page, the pipe operator `|` is supposed to be colored the same as a statement terminator.
| * Color `"$foo[1"` as an errorGravatar Kevin Ballard2014-08-20
| | | | | | | | | | | | We can't color the whole argument as an error, since the tokenizer is responsible for that and doesn't care abou this case, but we can color the `$foo[` bit as an error.
| * Fix highlighting of `"foo\"bar"`Gravatar Kevin Ballard2014-08-20
| | | | | | | | | | | | | | The backslash-escape wasn't being properly caught by the highlighter. Also remove the highlighting of `"\'"`, as `\'` is not a valid escape in double-quotes, and add highlighting for a backslash-escaped newline.
| * Highlight "$foo[1]" properlyGravatar Kevin Ballard2014-08-20
|/ | | | | Preserve the highlighting applied to the slice brackets when coloring variables inside of double-quoted strings.
* Remove an unnecessary parse pass in highlight.cpp (oops)Gravatar ridiculousfish2014-04-05
|
* Run restyle.sh to enforce style rules.Gravatar ridiculousfish2014-03-31
|
* Merge branch 'master' of github.com:fish-shell/fish-shellGravatar ridiculousfish2014-03-30
|\
* \ Merge branch 'master' into 1218_rebaseGravatar ridiculousfish2014-03-29
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: builtin.cpp builtin_commandline.cpp highlight.cpp input.cpp input.h reader.cpp screen.cpp screen.h
| | * Fix switch statement syntax highlighting so that the arguemnt to switchGravatar ridiculousfish2014-03-28
| | | | | | | | | | | | | | | is colored as a parameter, not a command. Promote this from a tok_string to a symbol_argument in the grammar too.
| | * Fix initially backgrounded jobs. Fixes #1373Gravatar ridiculousfish2014-03-28
| |/
| * Equip syntax highlighting with a variant that does no disk I/O. InvokeGravatar ridiculousfish2014-03-26
| | | | | | | | | | it after expanding an abbreviation, so that the expanded abbreviation appears with (some) syntax highlighting.
| * Remove some unused function declarationsGravatar ridiculousfish2014-03-26
| |
| * Prefer swap() member function to std::swap. We were hitting theGravatar ridiculousfish2014-03-25
| | | | | | | | inefficient generic std::swap for some derived types.
| * Revert "Merge pull request #1317 from pullreq/cpp"Gravatar ridiculousfish2014-02-28
| | | | | | | | | | | | | | This reverts commit 74135c0600d5dcc40d396d0e7293c17b8d4bdaa7, reversing changes made to 6d749789ce240a3e6f1447777db63fd8e7525560. See discussion in #1317
| * Fixes .c -> .cpp in comments. For doxygen.Gravatar Geoff Nixon2014-02-27
| |
| * Expand the variable name as an ordinary parameter in for loops. AddedGravatar ridiculousfish2014-02-21
| | | | | | | | test for it too.
| * Correctly color "end" command, and variable name in for loop.Gravatar ridiculousfish2014-02-21
| |
| * Reimplement exec parsing. Instead of special-casing exec as a command,Gravatar ridiculousfish2014-02-13
| | | | | | | | | | | | promote it to a decoration (like 'command' or 'builtin'). This makes tab completion and syntax highlighting treat exec's first argument as a command and is otherwise a nice simplification. Fixes #1300
| * Clean up old syntax highlighting code now that the new parser seems to workGravatar ridiculousfish2014-02-09
| |
| * Fix for miscoloring quote following variable nameGravatar ridiculousfish2014-02-09
| |
| * Highlight the entire variable name, not just the dollar sign. Fixes #1201Gravatar ridiculousfish2014-02-03
| |
| * Beginnings of work for search field feature of new pagerGravatar ridiculousfish2014-01-26
| |
| * Various tweaks and improvements to new pager, including disclosureGravatar ridiculousfish2014-01-22
| | | | | | | | feature
* | Merge remote-tracking branch 'upstream/master' into bind_modeGravatar Julian Aron Prenner2014-01-19
|\ \
| | * Merge branch 'master' into pagerGravatar ridiculousfish2014-01-15
| | |\ | | |/ | |/|
| * | Fix for recent issue where random text might appear underlined.Gravatar ridiculousfish2014-01-15
| | |
* | | Set selection color to purpleGravatar Julian Aron Prenner2014-01-15
|/ /
| * Merge branch 'master' into pagerGravatar ridiculousfish2014-01-15
| |\ | |/ |/| | | | | Conflicts: highlight.h
* | Update style and formatting to conform to fish style guide.Gravatar ridiculousfish2014-01-15
| |
| * Update pager colors to use new non-bitmask architecture.Gravatar ridiculousfish2014-01-15
|/
* Change highlight colors from a bitmask into a combination enum / bitmaskGravatar ridiculousfish2014-01-15
| | | | so that we can support more than 16 color specifications.
* Rename highlight_shell_magic to highlight_shell_new_parserGravatar ridiculousfish2014-01-13
|
* Eliminate class parse_tGravatar ridiculousfish2014-01-12
|
* Very early work in adopting new parser for actual execution of commands.Gravatar ridiculousfish2013-12-23
| | | | Not turned on yet.
* Initial work towards rewriting detect_errors to use new parser.Gravatar ridiculousfish2013-12-11
| | | | Low-level tests currently pass; high level tests fail.
* Merge branch 'master' into astGravatar ridiculousfish2013-11-24
|\ | | | | | | | | | | Conflicts: complete.cpp fish_tests.cpp
| * Large cleanup and refactoring of unescape() function.Gravatar ridiculousfish2013-11-24
| |
* | Syntax highlighting for file redirectionsGravatar ridiculousfish2013-10-13
| |
* | Adopt new parser in tab completionsGravatar ridiculousfish2013-10-12
| |
* | Make the new parser LL(2). Support for correct handling of e.g. 'commandGravatar ridiculousfish2013-10-09
| | | | | | | | --help'
* | Adoption of new parser in abbreviationsGravatar ridiculousfish2013-10-09
| |
* | Syntax highlighting for command substitutionsGravatar ridiculousfish2013-10-08
| |
* | Autosuggestion adoption of new parserGravatar ridiculousfish2013-10-08
| |
* | Syntax highlighting now correctly handles cdGravatar ridiculousfish2013-10-07
| |
* | Command highlighting worksGravatar ridiculousfish2013-10-07
| |
* | Command highlighting now worksGravatar ridiculousfish2013-10-06
| |
* | Merge branch 'master' into ast_no_templatesGravatar ridiculousfish2013-10-06
|\| | | | | | | | | | | Conflicts: configure.ac exec.cpp