The **aa** snippet below works well. But the snippet below that does not work.
If it did, it would make my snippet perfect!
```
[Special]
brace_open=\n{\n\t
brace_close=}\n
block=\n{\n\t%cursor%\n}
block_cursor=\n{\n\t%cursor%\n}\n%cursor%
wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789#$%&:.
hash=#
[Perl]
aa=\t\t\t\t\t\t\t%hash%
%hash%=\t\t\t\t\t\t\t%hash%
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1556
Bash lists with only one string item are not applying syntax highlighting.
It worked correctly with an older version of Geany, but I cannot say when this regression was introduced.
Example:
```
#!/bin/bash
var1=('foo')
var2=('foo: works')
var3=('foo', 'bar')
```
Expected syntax highlighting:
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packa…
See line 13, 16-20, 22.
System information:
* Arch Linux
* Geany 1.2.9
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1308
This now requires a C++11-capable compiler.
Closes #1308.
---
PR'd both for a Travis run and for you guys to give it a look as it changes the C++ dep.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1503
-- Commit Summary --
* Update Scintilla to version 3.7.5
-- File Changes --
M configure.ac (1)
A m4/ax_cxx_compile_stdcxx_11.m4 (142)
M scintilla/Makefile.am (1)
M scintilla/gtk/PlatGTK.cxx (158)
M scintilla/gtk/ScintillaGTK.cxx (154)
M scintilla/gtk/ScintillaGTK.h (90)
M scintilla/gtk/ScintillaGTKAccessible.cxx (83)
M scintilla/gtk/ScintillaGTKAccessible.h (44)
M scintilla/include/Platform.h (12)
M scintilla/include/SciLexer.h (1)
M scintilla/include/Scintilla.h (7)
M scintilla/include/Scintilla.iface (36)
M scintilla/lexers/LexAsm.cxx (22)
M scintilla/lexers/LexBash.cxx (17)
M scintilla/lexers/LexBasic.cxx (22)
M scintilla/lexers/LexCPP.cxx (108)
M scintilla/lexers/LexD.cxx (22)
M scintilla/lexers/LexDiff.cxx (2)
M scintilla/lexers/LexFortran.cxx (242)
M scintilla/lexers/LexHTML.cxx (8)
M scintilla/lexers/LexHaskell.cxx (22)
M scintilla/lexers/LexLaTeX.cxx (4)
M scintilla/lexers/LexLua.cxx (30)
M scintilla/lexers/LexPerl.cxx (22)
M scintilla/lexers/LexPowerShell.cxx (16)
M scintilla/lexers/LexProps.cxx (18)
M scintilla/lexers/LexPython.cxx (322)
M scintilla/lexers/LexRust.cxx (22)
M scintilla/lexers/LexSQL.cxx (22)
M scintilla/lexers/LexVHDL.cxx (8)
M scintilla/lexers/LexVerilog.cxx (42)
M scintilla/lexers/LexYAML.cxx (6)
M scintilla/lexlib/Accessor.cxx (12)
M scintilla/lexlib/CharacterCategory.cxx (771)
M scintilla/lexlib/CharacterCategory.h (6)
M scintilla/lexlib/CharacterSet.cxx (15)
M scintilla/lexlib/CharacterSet.h (11)
M scintilla/lexlib/LexAccessor.h (2)
M scintilla/lexlib/LexerBase.cxx (9)
M scintilla/lexlib/LexerModule.cxx (8)
M scintilla/lexlib/LexerModule.h (4)
M scintilla/lexlib/LexerNoExceptions.cxx (16)
M scintilla/lexlib/LexerSimple.cxx (8)
M scintilla/lexlib/PropSetSimple.cxx (5)
M scintilla/lexlib/StyleContext.cxx (8)
M scintilla/lexlib/StyleContext.h (9)
M scintilla/lexlib/WordList.cxx (17)
M scintilla/scintilla_changes.patch (3)
M scintilla/src/AutoComplete.cxx (28)
M scintilla/src/AutoComplete.h (6)
M scintilla/src/CallTip.cxx (37)
M scintilla/src/CallTip.h (12)
M scintilla/src/CaseConvert.cxx (222)
M scintilla/src/CaseFolder.h (4)
M scintilla/src/Catalogue.cxx (23)
M scintilla/src/CellBuffer.cxx (186)
M scintilla/src/CellBuffer.h (97)
M scintilla/src/CharClassify.cxx (4)
M scintilla/src/CharClassify.h (2)
M scintilla/src/ContractionState.cxx (110)
M scintilla/src/ContractionState.h (55)
M scintilla/src/Decoration.cxx (142)
M scintilla/src/Decoration.h (27)
M scintilla/src/Document.cxx (682)
M scintilla/src/Document.h (263)
M scintilla/src/EditModel.cxx (22)
M scintilla/src/EditModel.h (15)
M scintilla/src/EditView.cxx (500)
M scintilla/src/EditView.h (62)
M scintilla/src/Editor.cxx (897)
M scintilla/src/Editor.h (258)
M scintilla/src/ExternalLexer.cxx (101)
M scintilla/src/ExternalLexer.h (28)
M scintilla/src/Indicator.cxx (8)
M scintilla/src/KeyMap.cxx (2)
M scintilla/src/LineMarker.cxx (26)
M scintilla/src/LineMarker.h (30)
M scintilla/src/MarginView.cxx (64)
M scintilla/src/MarginView.h (8)
M scintilla/src/Partitioning.h (23)
M scintilla/src/PerLine.cxx (273)
M scintilla/src/PerLine.h (114)
M scintilla/src/Position.h (1)
M scintilla/src/PositionCache.cxx (127)
M scintilla/src/PositionCache.h (54)
M scintilla/src/RESearch.cxx (38)
M scintilla/src/RESearch.h (17)
M scintilla/src/RunStyles.cxx (37)
M scintilla/src/RunStyles.h (9)
M scintilla/src/ScintillaBase.cxx (59)
M scintilla/src/ScintillaBase.h (31)
M scintilla/src/Selection.cxx (72)
M scintilla/src/Selection.h (46)
M scintilla/src/SparseVector.h (122)
M scintilla/src/SplitVector.h (153)
M scintilla/src/Style.cxx (3)
M scintilla/src/Style.h (5)
M scintilla/src/UniConversion.cxx (53)
M scintilla/src/UniConversion.h (7)
A scintilla/src/UniqueString.h (34)
M scintilla/src/ViewStyle.cxx (195)
M scintilla/src/ViewStyle.h (33)
M scintilla/src/XPM.cxx (40)
M scintilla/src/XPM.h (10)
M scintilla/version.txt (2)
-- Patch Links --
https://github.com/geany/geany/pull/1503.patchhttps://github.com/geany/geany/pull/1503.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1503
I disagree that it looks better, I prefer one char. Unfortunately … is troublesome.
I then chose _ because it's also less likely to mess up the tagmanager due to syntax errors introduced by the ellipsis.
I don't feel very strong about it, though.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/commit/957b49b868214a4aea81641dedeabb98a497e…
Lots of improvements to snippets.
The end result is shown on the screen shot, and you can use Tab to go to the next cursor position.
![grafik](https://cloud.githubusercontent.com/assets/564520/25215453/db96d138-259d-11e7-9469-33dff37993de.png)
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1470
-- Commit Summary --
* snippets: Allow keybinding overloading of snippet-next-cursor.
* snippets: Remove cursor position at the end of constructs.
* snippets: Use Scintilla indicators for cursor posititons.
* api: Increment API version.
-- File Changes --
M data/snippets.conf (34)
M src/editor.c (168)
M src/editor.h (5)
M src/highlighting.c (5)
M src/keybindings.c (4)
M src/plugindata.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/1470.patchhttps://github.com/geany/geany/pull/1470.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1470
There are two or more Geany instances running in a given X display. When `geany file` is invoked, file always opens up in the same instance (the oldest one). PIDs and window PIDs are available for all instances, how to open file in the instance given by, say, its window PID?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1553
Consider the following C document:
```
int foo(void)
{
return bar(123);
}
int bar(int n)
{
return n + 1;
}
```
**Scenario 1.** Place the cursor on line 3, column 12, and invoke *Go to Symbol Definition*. The cursor jumps to line 6, column 0. Now invoke *Navigate back a location*. The cursor jumps to 3,12 — just what you’d expect.
**Scenario 2.** Place the cursor on line 3, column 12, and invoke *Go to Symbol Definition*. The cursor jumps to line 6, column 0. Now move the cursor manually to line 8, column 15, and then invoke *Navigate back a location*. Again, the cursor jumps to 3,12. Is this what you’d expect? Depends; but clearly there are cases where you’d prefer to jump to 6,0 first. In addition, you can’t *Navigate forward a location* to 8,15.
This PR changes *Navigate back a location* so that it first pushes the current position onto the navqueue. This does not affect scenario 1, because the navqueue’s `add_new_position` deduplicates positions at the head. But in scenario 2, this has the effect that *Navigate back* takes you to 6,0 first. If you want 3,12, it’s just one more *Navigate back* away. And you can *Navigate forward* to 8,15 now.
I have realized over time that this is kind of a prerequisite for my PR #1114. Otherwise it is very counter-intuitive that *Navigate back* does **not** take you to the position you just pushed with *Remember location in history*.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1537
-- Commit Summary --
* Push current position to navqueue before navigating back
-- File Changes --
M src/navqueue.c (8)
-- Patch Links --
https://github.com/geany/geany/pull/1537.patchhttps://github.com/geany/geany/pull/1537.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1537
Testing for #1503
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1504
-- Commit Summary --
* Update Scintilla to version 3.7.5
* Test using newer dist on Travis
* Revert "Test using newer dist on Travis"
* Use GCC 7 as the C/C++ compiler
-- File Changes --
M .travis.yml (2)
M configure.ac (1)
A m4/ax_cxx_compile_stdcxx_11.m4 (142)
M scintilla/Makefile.am (1)
M scintilla/gtk/PlatGTK.cxx (158)
M scintilla/gtk/ScintillaGTK.cxx (154)
M scintilla/gtk/ScintillaGTK.h (90)
M scintilla/gtk/ScintillaGTKAccessible.cxx (83)
M scintilla/gtk/ScintillaGTKAccessible.h (44)
M scintilla/include/Platform.h (12)
M scintilla/include/SciLexer.h (1)
M scintilla/include/Scintilla.h (7)
M scintilla/include/Scintilla.iface (36)
M scintilla/lexers/LexAsm.cxx (22)
M scintilla/lexers/LexBash.cxx (17)
M scintilla/lexers/LexBasic.cxx (22)
M scintilla/lexers/LexCPP.cxx (108)
M scintilla/lexers/LexD.cxx (22)
M scintilla/lexers/LexDiff.cxx (2)
M scintilla/lexers/LexFortran.cxx (242)
M scintilla/lexers/LexHTML.cxx (8)
M scintilla/lexers/LexHaskell.cxx (22)
M scintilla/lexers/LexLaTeX.cxx (4)
M scintilla/lexers/LexLua.cxx (30)
M scintilla/lexers/LexPerl.cxx (22)
M scintilla/lexers/LexPowerShell.cxx (16)
M scintilla/lexers/LexProps.cxx (18)
M scintilla/lexers/LexPython.cxx (322)
M scintilla/lexers/LexRust.cxx (22)
M scintilla/lexers/LexSQL.cxx (22)
M scintilla/lexers/LexVHDL.cxx (8)
M scintilla/lexers/LexVerilog.cxx (42)
M scintilla/lexers/LexYAML.cxx (6)
M scintilla/lexlib/Accessor.cxx (12)
M scintilla/lexlib/CharacterCategory.cxx (771)
M scintilla/lexlib/CharacterCategory.h (6)
M scintilla/lexlib/CharacterSet.cxx (15)
M scintilla/lexlib/CharacterSet.h (11)
M scintilla/lexlib/LexAccessor.h (2)
M scintilla/lexlib/LexerBase.cxx (9)
M scintilla/lexlib/LexerModule.cxx (8)
M scintilla/lexlib/LexerModule.h (4)
M scintilla/lexlib/LexerNoExceptions.cxx (16)
M scintilla/lexlib/LexerSimple.cxx (8)
M scintilla/lexlib/PropSetSimple.cxx (5)
M scintilla/lexlib/StyleContext.cxx (8)
M scintilla/lexlib/StyleContext.h (9)
M scintilla/lexlib/WordList.cxx (17)
M scintilla/scintilla_changes.patch (3)
M scintilla/src/AutoComplete.cxx (28)
M scintilla/src/AutoComplete.h (6)
M scintilla/src/CallTip.cxx (37)
M scintilla/src/CallTip.h (12)
M scintilla/src/CaseConvert.cxx (222)
M scintilla/src/CaseFolder.h (4)
M scintilla/src/Catalogue.cxx (23)
M scintilla/src/CellBuffer.cxx (186)
M scintilla/src/CellBuffer.h (97)
M scintilla/src/CharClassify.cxx (4)
M scintilla/src/CharClassify.h (2)
M scintilla/src/ContractionState.cxx (110)
M scintilla/src/ContractionState.h (55)
M scintilla/src/Decoration.cxx (142)
M scintilla/src/Decoration.h (27)
M scintilla/src/Document.cxx (682)
M scintilla/src/Document.h (263)
M scintilla/src/EditModel.cxx (22)
M scintilla/src/EditModel.h (15)
M scintilla/src/EditView.cxx (500)
M scintilla/src/EditView.h (62)
M scintilla/src/Editor.cxx (897)
M scintilla/src/Editor.h (258)
M scintilla/src/ExternalLexer.cxx (101)
M scintilla/src/ExternalLexer.h (28)
M scintilla/src/Indicator.cxx (8)
M scintilla/src/KeyMap.cxx (2)
M scintilla/src/LineMarker.cxx (26)
M scintilla/src/LineMarker.h (30)
M scintilla/src/MarginView.cxx (64)
M scintilla/src/MarginView.h (8)
M scintilla/src/Partitioning.h (23)
M scintilla/src/PerLine.cxx (273)
M scintilla/src/PerLine.h (114)
M scintilla/src/Position.h (1)
M scintilla/src/PositionCache.cxx (127)
M scintilla/src/PositionCache.h (54)
M scintilla/src/RESearch.cxx (38)
M scintilla/src/RESearch.h (17)
M scintilla/src/RunStyles.cxx (37)
M scintilla/src/RunStyles.h (9)
M scintilla/src/ScintillaBase.cxx (59)
M scintilla/src/ScintillaBase.h (31)
M scintilla/src/Selection.cxx (72)
M scintilla/src/Selection.h (46)
M scintilla/src/SparseVector.h (122)
M scintilla/src/SplitVector.h (153)
M scintilla/src/Style.cxx (3)
M scintilla/src/Style.h (5)
M scintilla/src/UniConversion.cxx (53)
M scintilla/src/UniConversion.h (7)
A scintilla/src/UniqueString.h (34)
M scintilla/src/ViewStyle.cxx (195)
M scintilla/src/ViewStyle.h (33)
M scintilla/src/XPM.cxx (40)
M scintilla/src/XPM.h (10)
M scintilla/version.txt (2)
-- Patch Links --
https://github.com/geany/geany/pull/1504.patchhttps://github.com/geany/geany/pull/1504.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1504