Hey there,
I am working in a .ps1 file, and the document filetype is set to Powershell.
My source is: ```Powershell "Test message `"$var`" rest of test message" Continue ```
In `geany`, that text that looks like this: ![as-is](https://user-images.githubusercontent.com/6686712/31773614-23f887c6-b498-11e...)
The issue appears to be that, although the Powershell lexer is capable of escaping `"` by use of `` ` ``, it is not capable of escaping `"` while already inside a double quote state.
In my Geany it looks like this:
![ps1-test](https://user-images.githubusercontent.com/9009011/31781810-b071f5e6-b4f9-11e...)
That seems to be OK for me. I assume your problem is already fixed. I am using the latest development version of Geany. Which version are you using?
On 2017-10-19 09:18 AM, LarsGit223 wrote:
In my Geany it looks like this:
![ps1-test](https://user-images.githubusercontent.com/9009011/31781810-b071f5e6-b4f9-11e...)
That seems to be OK for me. I assume your problem is already fixed. I am using the latest development version of Geany. Which version are you using?
I think it was reported/fixed here:
https://sourceforge.net/p/scintilla/bugs/1929/
It should be in the latest official release (1.31).
Regards, Matthew Brush
Whoops, sorry for not including `geany` version.
I am running the `1.31-1` version from the [Arch Linux repository](https://www.archlinux.org/packages/community/x86_64/geany/). I am running Arch Linux `4.13.7-1`
I cloned into the `geany` repo, and ran ```bash ./autogen.sh ./configure --disable-pdf-docs --disable-html-docs make cd src ./geany ```
But that generated the following error ``` (lt-geany:23776): Geany-ERROR **: Cannot create user-interface: Failed to open file “/usr/local/share/geany/geany.glade”: No such file or directory [1] 23776 trace trap (core dumped) ./geany ```
Relatedly, there doesn't seem to be support for [running geany without installing it](https://github.com/geany/geany/issues/788).
I am somewhat reluctant to uninstall my `geany` installation and install the [`geany-git`](https://aur.archlinux.org/packages/geany-git/) package, if only because of a couple of years of customizations.
I have disabled all plugins and the issue remains, but I'm happy to try other troubleshooting steps.
Geany must be installed, you can't just execute the binary in the src directory because it looks for data (like the glade file) in the configured prefix. If you don't want to install to system directories configure with `--prefix=/home/somewhere_or_other`
Closed #1652.
Ran `make install` to a subdirectory of my home folder, and can confirm that the escape-highlighting occurs properly with both of the included color schemes. ![alternate](https://user-images.githubusercontent.com/6686712/31801471-43034d30-b4fd-11e...)
This seems like an issue that will work itself through the Arch Linux repository eventually.
A final comment:
I also cloned into [`geany-themes`](https://github.com/codebrainz/geany-themes) and symlinked to each of the colorschemes in that repo at `[prefix]/share/geany/colorschemes`, and can confirm that syntax highlighting with the GitHub versions of `geany` and `geany-themes` works too.
![monokai](https://user-images.githubusercontent.com/6686712/31801698-bd37a6cc-b4fe-11e...)
github-comments@lists.geany.org