Menu

#998 Shell with cmd-replace don't work

Bug
open
5
2022-04-09
2010-07-29
Anonymous
No

If scintille work on linux-shell files and the command-replace is used such as

#!/bin/sh
WORKDIR=`pwd`

The whole editline become a yellow bar on WORKDIR and is the same as the command-color
and nothing is seen in this line, This may called the "yellow-vanish"-bug. :-)

best regards - nice tool

Discussion

  • Kein-Hong Man

    Kein-Hong Man - 2010-07-29

    This LexBash contributor says: If this is about the just the `pwd` part, there is no bug for the current Bash highlighter. I call it a string interpreted as a command. If anyone wants highlighting within command strings, please contribute a patch for it. Without extra colour styles, it would be hard to spot the small backticks in large command string blocks.

     
  • Kein-Hong Man

    Kein-Hong Man - 2010-07-29

    In any case, Vim 7.2 does not appear to highlight any details in command strings. The particular style can always be adjusted to improve on the yellow bar.

     
  • Neil Hodgson

    Neil Hodgson - 2010-07-30
    • assigned_to: nobody --> nyamatongwe
     
  • Neil Hodgson

    Neil Hodgson - 2010-07-31

    Perhaps this is about highlighting the caret line. A yellow caret line background will interfere with the visibility of yellow text. You could try using a translucent caret line since translucent effects are often compatible with a wider variety of styles:

    caret.line.back=#FFFE00
    caret.line.back.alpha=63

     
  • Zufu Liu

    Zufu Liu - 2022-04-09
    • labels: Scintilla --> Scintilla, SciTE, bash
    • Group: --> Bug
     

Log in to post a comment.