Ticket #1379 (closed enhancement: fixed)
Tried to add BASH to theme and killed Padre
| Reported by: | bowtie | Owned by: | alias, adamk, azawawi |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | editor | Version: | 0.93 |
| Keywords: | theme bash sh wx scintilla | Cc: |
Description
I did a bit of reading, and tried to add bash visuals to my padre theme so it will look like vim with bash plugin.
I added this to my local theme
style application/x-shellscript
include text/plain
StyleSetForeground? SCE_BASH_DEFAULT 000000
from padre mime
sh => 'application/x-shellscript',
from padre wx scintilla
'application/x-shellscript' => Wx::Scintilla::Constant::SCLEX_BASH,
but all i got was
Line 227: Unknown or unsupported style 'SCE_BASH_DEFAULT' at /usr/src/Padre/Padre/lib/Padre/Wx/Theme.pm line 374, <GEN11> line 227.
Perl exited with active threads:
8 running and unjoined
0 finished and unjoined
0 running and detached
So the question is what have I done wrong, or is this not possible?
