[Github-comments] Re: [geany/geany-plugins] GeanyLua: Support for LuaJIT and Lua 5.1-5.4 (PR #1238)

2023-10-09 Thread Skif-off via Github-comments
@techee 
In fact, there are few changes (I don't understand why changes not related to 
GeanyLua are lumped together) and these versions of Lua will no longer be 
different.
So theoretically, support will not be required for a long time.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1238#issuecomment-1753887389
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request HTML Characters plugin (Issue #1250)

2023-06-01 Thread Skif-off via Github-comments
Sorry, to generate the final `aentities` table from the list of entities, I 
wrote a script, but made a ridiculous mistake in it.
The script in my comment has been updated.


@elextr the package search for Debian or Arch Linux is more friendly and each 
page contains all the necessary information and links. I do not insist, but I 
have always been annoyed by the search for packages for daughter RHEL 
distributions :)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1250#issuecomment-1572800814
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Feature request HTML Characters plugin (Issue #1250)

2023-05-31 Thread Skif-off via Github-comments
@hg2581, how did you install Geany? Just `sudo yum install geany`? In this case 
try to run:
```
sudo yum update
sudo yum install geany-plugins-geanylua
```

P.S. Finding packages for Fedora or CentOS is... hm... some kind of magic and a 
bad erotic dream.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1250#issuecomment-1569636783
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2023-04-13 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

44611e609c173549450d5d8dd75104ed95ac809f  As in 5298f51

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/54324efdee3621f0b47b0840b70a73136a97333f..44611e609c173549450d5d8dd75104ed95ac809f
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2023-04-06 Thread Skif-off via Github-comments
@Skif-off commented on this pull request.



> + {'g', tm_tag_undef_t},
+   {'l', tm_tag_undef_t},

I just wanted to add minimal guaranteed working AutoIt support and don't know 
all the ins and outs of how Geany works.
And didn't want to bloat the list of symbols (maybe in the future if anyone 
wants to).

I.e. `tm_tag_variable_t` for global variables and `tm_tag_local_var_t` for 
local?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#discussion_r1159365663
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2023-03-30 Thread Skif-off via Github-comments
> But if scopes are supported, then it should be mentioned inside 
> `tm_parser_has_full_scope()`.

Done.
To be honest, I don't see the difference between `TRUE` and `FALSE` :)
![2023-03-30](https://user-images.githubusercontent.com/6333198/228874594-c34ea718-ae54-446a-b283-e2062808fe8a.png)


-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#issuecomment-1490440626
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2023-03-30 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

e7225418b69f70d55119ef4f979ab1c767f92f99  Add TM_PARSER_AUTOIT to 
tm_parser_has_full_scope()

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/8ff16fed4d1c19d11fb51bb8e43dda4b8987d8d8..e7225418b69f70d55119ef4f979ab1c767f92f99
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2023-03-27 Thread Skif-off via Github-comments
> by just having a look at the parser (and not knowing the language), it seems 
> that the parser supports scopes (i.e. nesting one tag inside other tag).
> ...
> it seems that you can nest one function inside another

It seems the language does not support such constructs.

Any part of code can be placed inside the `#Region ... #EndRegion`, but 
`#Region ... #EndRegion` is not a regular operator, macro or directive and does 
not participate in code execution in any way: this is just a visual cue (for 
the authors, not for the AutoIt), which allows to fold pieces of code. Usually 
these are some logically related parts of the script - group of functions 
and/or variables and so on.
I'm not sure if I managed to explain correctly, I'm one of those who just use 
it :)

> Second, very minor thing is that in https://github.com/geany/geany/pull/3428 
> we changed comments for wordchars and comment_use_indent in the filetype 
> config files

Fixed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#issuecomment-1485124807
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2023-03-27 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

c598c9ead6fd919d8ef7e68840e717adef8d917f  Improve some comments in 
filetypes.autoit

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/b7ccf84891f4653528acf60398da7326713b6f18..c598c9ead6fd919d8ef7e68840e717adef8d917f
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2023-03-24 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

b7ccf84891f4653528acf60398da7326713b6f18  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/aaaed345031a08c1bcd774e7078a45d2b960..b7ccf84891f4653528acf60398da7326713b6f18
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-19 Thread Skif-off via Github-comments
@elextr , @techee , thanks! Now works fine.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#issuecomment-1358966314
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-19 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

aaaed345031a08c1bcd774e7078a45d2b960  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/d136e5189be1f69bb00a9a760d1857ba01e60b41..aaaed345031a08c1bcd774e7078a45d2b960
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-19 Thread Skif-off via Github-comments
@elextr , interesting, `simple.html.tags`, for example,  contents the same 
characters, but without error...
I will check manually, maybe just disable testing.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#issuecomment-1358937866
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-19 Thread Skif-off via Github-comments
@techee , yes, I figured it out, I found your commits in upstream: I replaced 
`tm_tag_member_t` with `tm_tag_undef_t` and updated the `simple.au3.tags` file. 
but again I got an 
[error](https://github.com/geany/geany/actions/runs/3733542779/jobs/6334467745) 
 (but no details now).


-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#issuecomment-1358902672
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-19 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

d136e5189be1f69bb00a9a760d1857ba01e60b41  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/695a7af6b169dcaf0ea9441303344e60224fb9dc..d136e5189be1f69bb00a9a760d1857ba01e60b41
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-19 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

695a7af6b169dcaf0ea9441303344e60224fb9dc  Return back

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/bc4d65dd1a3d84da7e69f02701bfc3134a85fdb8..695a7af6b169dcaf0ea9441303344e60224fb9dc
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-19 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

bc4d65dd1a3d84da7e69f02701bfc3134a85fdb8  Test with 'tm_tag_undef_t'

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/51901737a23dc410bcf01bf9140f234b83edab44..bc4d65dd1a3d84da7e69f02701bfc3134a85fdb8
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-19 Thread Skif-off via Github-comments
I took a quick look the list of commits and replaced `tm_tag_member_t` with 
`tm_tag_undef_t` (I tried to remember why I used `tm_tag_member_t` but 
couldn't): fail.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#issuecomment-1357624098
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-19 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

51901737a23dc410bcf01bf9140f234b83edab44  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/1bf4df7b9f1ee6adf9e11b622f47c4732432d4f9..51901737a23dc410bcf01bf9140f234b83edab44
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
Parser and lexer are current versions from upstreams (and both have not been 
updated for a long time). I'm sorry, right now I don't understand what the 
problem is :)
ctags/parsers/autoit.c:
```c
static roleDefinition AutoItIncludeRoles [] = {
{ true, "system", "system include" },
{ true, "local", "local include" },
};

static kindDefinition AutoItKinds [] = {
{ true, 'f', "func", "functions" },
{ true, 'r', "region", "regions" },
{ true, 'g', "global", "global variables" },
{ true, 'l', "local", "local variables" },
{ true, 'S', "script", "included scripts",
  .referenceOnly = true, ATTACH_ROLES (AutoItIncludeRoles) },
};
```

src/tagmanager/tm_parser.c:
```c
static TMParserMapEntry map_AUTOIT[] = {
{'f', tm_tag_function_t},
{'r', tm_tag_other_t},
{'g', tm_tag_member_t},
{'l', tm_tag_member_t},
{'S', tm_tag_member_t},
};
static TMParserMapGroup group_AUTOIT[] = {
{_("Functions"), TM_ICON_METHOD, tm_tag_function_t},
{_("Regions"), TM_ICON_OTHER, tm_tag_other_t},
};
```

`AutoItKinds` and `map_AUTOIT` are the same size and as I understand and see, 
`map_AUTOIT` and `group_AUTOIT` do not have to match in size.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#issuecomment-1356326744
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

1bf4df7b9f1ee6adf9e11b622f47c4732432d4f9  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/6b6034ce7009cfa4f4506456f613a49302591dd8..1bf4df7b9f1ee6adf9e11b622f47c4732432d4f9
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

6b6034ce7009cfa4f4506456f613a49302591dd8  TMP, will be squashed later

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/b0502bf24a83fc474177a9ecc5b0dbdae2035dfa..6b6034ce7009cfa4f4506456f613a49302591dd8
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

b0502bf24a83fc474177a9ecc5b0dbdae2035dfa  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/e2881605d6b93a1b59580080f47d4ce1c48bcaa4..b0502bf24a83fc474177a9ecc5b0dbdae2035dfa
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
[/jobs/6309415770](https://github.com/geany/geany/actions/runs/3720132501/jobs/6309415770):
 What does

> (process:10108): Tagmanager-WARNING **: 12:59:46.979: Not all tag types 
> mapped to symbol tree groups for AutoIt

mean?
Maybe just drop the test when Meson is used?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#issuecomment-1356254513
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

e2881605d6b93a1b59580080f47d4ce1c48bcaa4  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/458af8ec125c90a5e37a7298ecfe71994f0adbf7..e2881605d6b93a1b59580080f47d4ce1c48bcaa4
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

458af8ec125c90a5e37a7298ecfe71994f0adbf7  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/9d138427b276ab049261f967afaf05e90422912d..458af8ec125c90a5e37a7298ecfe71994f0adbf7
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

9d138427b276ab049261f967afaf05e90422912d  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/a14388d2044647c1d397d953c1836f0beb2c6401..9d138427b276ab049261f967afaf05e90422912d
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

a14388d2044647c1d397d953c1836f0beb2c6401  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/3c784cbd593a40695cc689594d032669b33b432a..a14388d2044647c1d397d953c1836f0beb2c6401
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-11 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

7ef0ef6b80f15632610f4c6fed60c2c548c67ca4  FIX build

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/a368f098fd44324102035bed439a5991b24cbe73..7ef0ef6b80f15632610f4c6fed60c2c548c67ca4
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-03 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

a368f098fd44324102035bed439a5991b24cbe73  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/f127e406077ae20a05fb60682ad2652f62e00d21..a368f098fd44324102035bed439a5991b24cbe73
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Feature Request : [Save Actions] Auto start compiling after every save (Issue #3295)

2022-10-24 Thread Skif-off
Maybe GeanyLua + `~/.geany/plugins/geanylua/events/saved.lua`? (See 
[geanylua-intro.html](https://github.com/geany/geany-plugins/blob/master/geanylua/docs/geanylua-intro.html).)
```lua
local alist = {
  ["C"] = "BUILD_COMPILE",
  ["Python"] = "BUILD_LINK",
  ["Lua"] = "BUILD_RUN"
}
local afile = geany.fileinfo()
geany.keycmd(alist[afile.type])
```
where `["x"]` is the name from `filetype_extensions.conf`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3295#issuecomment-1289129126
You are receiving this because you are subscribed to this thread.

Message ID: 

Re: [Github-comments] [geany/geany-plugins] GeanyLua: Update glspi_sci.h (PR #1123)

2021-10-27 Thread Skif-off
I looked at [PR#2930](https://github.com/geany/geany/pull/2930) (Update to 
Scintilla 5.1.3 and Lexilla 5.1.2) and found several new messages:
```diff
--- ~/src/old/Scintilla.h
+++ ~/src/new/Scintilla.h
@@ -272,6 +272,8 @@
 #define SCI_STYLEGETWEIGHT 2064
 #define SCI_STYLESETCHARACTERSET 2066
 #define SCI_STYLESETHOTSPOT 2409
+#define SCI_STYLESETCHECKMONOSPACED 2254
+#define SCI_STYLEGETCHECKMONOSPACED 2255
 #define SC_ELEMENT_LIST 0
 #define SC_ELEMENT_LIST_BACK 1
 #define SC_ELEMENT_LIST_SELECTED 2
@@ -291,6 +293,8 @@
 #define SC_ELEMENT_WHITE_SPACE_BACK 61
 #define SC_ELEMENT_HOT_SPOT_ACTIVE 70
 #define SC_ELEMENT_HOT_SPOT_ACTIVE_BACK 71
+#define SC_ELEMENT_FOLD_LINE 80
+#define SC_ELEMENT_HIDDEN_LINE 81
 #define SCI_SETELEMENTCOLOUR 2753
 #define SCI_GETELEMENTCOLOUR 2754
 #define SCI_RESETELEMENTCOLOUR 2755
@@ -310,6 +314,8 @@
 #define SCI_SETSELECTIONLAYER 2763
 #define SCI_GETCARETLINELAYER 2764
 #define SCI_SETCARETLINELAYER 2765
+#define SCI_GETCARETLINEHIGHLIGHTSUBLINE 2773
+#define SCI_SETCARETLINEHIGHLIGHTSUBLINE 2774
 #define SCI_SETCARETFORE 2069
 #define SCI_ASSIGNCMDKEY 2070
 #define SCI_CLEARCMDKEY 2071


--- ~/src/old/Scintilla.iface
+++ ~/src/new/Scintilla.iface
@@ -677,6 +677,12 @@
 # Set a style to be a hotspot or not.
 set void StyleSetHotSpot=2409(int style, bool hotspot)
 
+# Indicate that a style may be monospaced over ASCII graphics characters which 
enables optimizations.
+set void StyleSetCheckMonospaced=2254(int style, bool checkMonospaced)
+
+# Get whether a style may be monospaced.
+get bool StyleGetCheckMonospaced=2255(int style,)
+
 enu Element=SC_ELEMENT_
 val SC_ELEMENT_LIST=0
 val SC_ELEMENT_LIST_BACK=1
@@ -697,6 +703,8 @@
 val SC_ELEMENT_WHITE_SPACE_BACK=61
 val SC_ELEMENT_HOT_SPOT_ACTIVE=70
 val SC_ELEMENT_HOT_SPOT_ACTIVE_BACK=71
+val SC_ELEMENT_FOLD_LINE=80
+val SC_ELEMENT_HIDDEN_LINE=81
 
 # Set the colour of an element. Translucency (alpha) may or may not be 
significant
 # and this may depend on the platform. The alpha byte should commonly be 0xff 
for opaque.
@@ -753,6 +761,12 @@
 # Set the layer of the background of the line containing the caret.
 set void SetCaretLineLayer=2765(Layer layer,)
 
+# Get only highlighting subline instead of whole line.
+get bool GetCaretLineHighlightSubLine=2773(,)
+
+# Set only highlighting subline instead of whole line.
+set void SetCaretLineHighlightSubLine=2774(bool subLine,)
+
 # Set the foreground colour of the caret.
 set void SetCaretFore=2069(colour fore,)
 
```
Need to wait a bit :)

-- 
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-plugins/pull/1123#issuecomment-953104865

Re: [Github-comments] [geany/geany-plugins] GeanyLua: Update glspi_sci.h (PR #1123)

2021-10-23 Thread Skif-off
@elextr yes, of course, I don't know what I thought about :) Fixed.
I think I will wait when the @xiota's PRs will be merged.

-- 
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-plugins/pull/1123#issuecomment-950175819

Re: [Github-comments] [geany/geany-plugins] Update GeanyLua for Scintilla 5 (#1118)

2021-10-22 Thread Skif-off
[GeanyLua: Update 
glspi_sci.h](https://github.com/geany/geany-plugins/pull/1123) will fix it.

-- 
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-plugins/issues/1118#issuecomment-949699899

Re: [Github-comments] [geany/geany-plugins] GeanyLua: Update glspi_sci.h (PR #1123)

2021-10-22 Thread Skif-off
@elextr I think, all ```SCI_*LEXER*``` are not really needed in this plugin (so 
they can stay in this list and no more), also you wrote

> You should not set the lexer directly, set the Geany filetype instead.

[here](https://github.com/geany/geany-plugins/issues/646). Now we can get the 
current filetype
```lua
local finfo = geany.fileinfo()
if finfo ~= nil then
  geany.message('Current filetype is "' .. finfo.type .. '": ' .. finfo.desc)
end
```
and it may be useful to change the current filetype: something like 
```geany.settype(".cmake")``` with
```c
/* Change the current file type by the specified file extension */
static gint glspi_set_filetype(lua_State* L)
{
GeanyDocument *doc=NULL;
GeanyFiletype *ft=NULL;
const gchar *ftn=NULL;

if (lua_gettop(L)==1){
if (!lua_isstring(L, 1)) { return FAIL_STRING_ARG(1); }
doc = document_get_current();
if (!(doc && doc->is_valid)) { return 0; }
ftn=lua_tostring(L, 1);
if ('\0' == ftn[0]) { return 0; }
ft=filetypes_detect_from_extension(ftn);
if (ft != NULL){
document_set_filetype(doc, ft);
return 1;
}
}
return 0;
}
```
in ```glspi_doc.c```. But currently ```filetypes_detect_from_extension``` is 
not a prt of Geany API.

-- 
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-plugins/pull/1123#issuecomment-949600361

Re: [Github-comments] [geany/geany-plugins] Remove no-longer supported Scintilla signals (PR #1123)

2021-10-20 Thread Skif-off
@elextr 
> need to map Lexilla as well as Scintilla

Why? GeanyLua uses the Scintilla interface, also all SCI_*LEXER* will be 
available.

-- 
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-plugins/pull/1123#issuecomment-947266544

[Github-comments] [geany/geany-plugins] GeanyLua: glspi_keycmd.h: add GEANY_KEYS_FILE_RELOAD_ALL, del GEANY_KEYS_COUNT (PR #1124)

2021-10-19 Thread Skif-off

You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/1124

-- Commit Summary --

  * https://github.com/geany/geany-plugins/pull/1124/commits/e3782b80d643e18069d4eb76265e0e545a57fc06;>GeanyLua:
 Update glspi_keycmd.h: add GEANY_KEYS_FILE_RELOAD_ALL, del GEANY_KEYS_COUNT

-- File Changes --

M geanylua/glspi_keycmd.h (4)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/1124.patch
https://github.com/geany/geany-plugins/pull/1124.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-plugins/pull/1124


Re: [Github-comments] [geany/geany-plugins] Remove no-longer supported Scintilla signals (PR #1123)

2021-10-19 Thread Skif-off
@xiota 
Try 
[/util/mkiface.lua](https://github.com/geany/geany-plugins/blob/master/geanylua/util/mkiface.lua).

-- 
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-plugins/pull/1123#issuecomment-947222772

Re: [Github-comments] [geany/geany-plugins] Problem with "Lua Script" after upgrade (GTK 3) (#690)

2021-10-13 Thread Skif-off
Win10, 1.37 GTK**2** vs. 1.38 GTK**3**:
![gtk2vs3](https://user-images.githubusercontent.com/6333198/137074307-ba00b4f8-c071-46f9-b53f-a41ae9adbbb6.png)
Simple script:
```lua
geany.choose('Test:', {"one", "two", "three"})
```
Xubuntu, GTK3 with vs. without  @b4n 's patch:
![w/w](https://user-images.githubusercontent.com/6333198/137076272-938d6c70-dcd4-4e69-8168-a7327923d0df.png)

-- 
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-plugins/issues/690#issuecomment-941952424

Re: [Github-comments] [geany/geany-plugins] GeanyLua/GTK3: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed (#1027)

2021-10-11 Thread Skif-off
Not reproduced with 1.38.

-- 
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-plugins/issues/1027#issuecomment-940582642

Re: [Github-comments] [geany/geany-plugins] GeanyLua/GTK3: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed (#1027)

2021-10-11 Thread Skif-off
Closed #1027.

-- 
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-plugins/issues/1027#event-5446428663

Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2021-10-10 Thread Skif-off
@Skif-off pushed 1 commit.

3c31a6e4f1c8e6c412bf58e94921fa3dad24c495  UPD: new Scintilla 2


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/7bc8d8a6674f7a38c7cea5c085da98647138d58f..3c31a6e4f1c8e6c412bf58e94921fa3dad24c495


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2021-10-10 Thread Skif-off
@Skif-off pushed 1 commit.

7bc8d8a6674f7a38c7cea5c085da98647138d58f  UPD: new Scintilla


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/deead83fff41846c5862f6182b17d04de261c0d6..7bc8d8a6674f7a38c7cea5c085da98647138d58f


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2021-10-10 Thread Skif-off
@Skif-off pushed 1 commit.

d82a3abe88ca08fa8f806c032ffd9b5e5169660b  TMP


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/1de996fe9cdf8df609aaf7f70de75662b40a1f98..d82a3abe88ca08fa8f806c032ffd9b5e5169660b


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2021-10-10 Thread Skif-off
@Skif-off pushed 1 commit.

a752cb8f67651fee1f410a40267f9aad7fdd8ab1  UPD: simple.au3.tags


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/44bd43d8df82d87eabe2efe461b85a4c13ebf1b1..a752cb8f67651fee1f410a40267f9aad7fdd8ab1


Re: [Github-comments] [geany/geany-plugins] GeanyLua: Enable running scripts for all signals (#1112)

2021-10-05 Thread Skif-off
Yesterday I thought about something like ```get_list_events_scripts``` with 
multiple calls of ```g_file_test``` that can be call inside ```glspi_init``` 
and ```glspi_rescan``` only once. Of couse, Geany is not a microcontroller 
firmware in very limited conditions and does not require _very strict_ 
optimizations, but checking a boolean value in memory inside GeanyLua looks 
less wasteful.
But I'm not sure I can do it :) So, I agree to any decision.


@elextr
> has made quite a number of contributions to the plugin

Oh, my contribution is quite modest :)

-- 
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-plugins/pull/1112#issuecomment-934619067

Re: [Github-comments] [geany/geany-plugins] GeanyLua: Enable running scripts for all signals (#1112)

2021-10-04 Thread Skif-off
@xiota

> No one who doesn't need them is forced to use them, and someone else might 
> need them someday.

This is partly true, but let's try to be realists:

```update_editor_menu```: GeanyLua doesn't work with any (his or someone else) 
popup menu, so it's just not needed and unnecessary checking/processing.

```key_press```: _each_ key/signal will call ```g_file_test``` with 
```G_FILE_TEST_IS_REGULAR```: GeanyLua  just rape HDD.
For example, Addons, Autoclose, Vimode or Keyrecord use this signal, but they 
don't touch file system.

-- 
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-plugins/pull/1112#issuecomment-933130242

Re: [Github-comments] [geany/geany-plugins] GeanyLua: Enable running scripts for all signals (#1112)

2021-10-03 Thread Skif-off
Excuse my curiosity :) Are ```key_press``` and ```update_editor_menu``` really 
needed?
As I understood plugin doesn't work with any popup menu and I'm not sure about 
the first one.

-- 
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-plugins/pull/1112#issuecomment-933007116

Re: [Github-comments] [geany/geany-plugins] GeanyLua/GTK3: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed (#1027)

2021-09-30 Thread Skif-off
@xiota 
Thanks for checking. I have tried too and I think I will wait v1.38 and close 
this issue (if Geany team members will not close it).

-- 
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-plugins/issues/1027#issuecomment-931313896

Re: [Github-comments] [geany/geany-plugins] GeanyLua: Enable running scripts for all signals (#1112)

2021-09-25 Thread Skif-off
Thank you, it looks interesting!

If you have free time and you are familiar with GTK3 API, can you look 
[this](https://github.com/geany/geany-plugins/issues/1027) bug?

-- 
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-plugins/pull/1112#issuecomment-927174563

Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2021-09-25 Thread Skif-off
@Skif-off pushed 1 commit.

43fc6766dfc773b321386a25ea7640cfe5118122  TMP


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/ee01056fdb6e23e9bba0e71c5ac3174b7dc9db7a..43fc6766dfc773b321386a25ea7640cfe5118122


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2021-09-25 Thread Skif-off
@Skif-off pushed 1 commit.

5edd31912853f674a1d8b75fbf8862122ad234d6  TMP


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/e31834af9b49e1f5f73de94c6ef379c043ed6c38..5edd31912853f674a1d8b75fbf8862122ad234d6


Re: [Github-comments] [geany/geany] Corrections for the Russian translation (#2888)

2021-09-05 Thread Skif-off
It seems now I began to understand what you want to say, but "Продолжать" is a 
wrong: "Always wrap search" is about the beginning of the search, not a 
continuation.


To be honest, I'm not sure it is necessary to change/fix urgently. Or is it a 
habit? :) Мaybe something like
```po
msgid "Always wrap search"
msgstr "Всегда искать по кругу"

msgid "Always wrap search around the document"
msgstr "Всегда выполнять поиск по кругу по всему документу"


msgid "Wrap search and find again?"
msgstr "Повторить поиск с начала/конца?"
```
?

P.S. Don't use spaces around "/" (as in other strings).

-- 
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/2888#issuecomment-913132513

Re: [Github-comments] [geany/geany] Corrections for the Russian translation (#2888)

2021-09-04 Thread Skif-off
`Зацикливать поиск`? These are different things.
We have two ways: from the beginning or from the current place. Without cycles.

> Продолжить поиск с начала / конца?`

What logic? In this window we will see two buttons: `Cancel` and `Find`. 
`Cancel` is a cancel, `Find` will try to find from the beginning of document.

Or I didn't understand something...

-- 
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/2888#issuecomment-913007337

Re: [Github-comments] [geany/geany] "Always wrap search" and "Hide the Find dialog" switched in geany.conf (#2773)

2021-04-07 Thread Skif-off
> and break all those user configs for 10 years

Looks like bug and this options are not critical and does not require very-very 
special warnings/fixes/workarounds: so, the answer is obvious.
Of course, this can be noted in the list of changes.

-- 
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/2773#issuecomment-814763980

Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2021-02-24 Thread Skif-off
@Skif-off pushed 1 commit.

c385005ec546143e466120c17e5e04d639f82eea  FIX: Looks like...


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/3ef63fe2b9921813d902a4fa353b0a154d0ad1c8..c385005ec546143e466120c17e5e04d639f82eea


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2021-02-23 Thread Skif-off
@Skif-off pushed 1 commit.

80001e408a26070d3fba6778347e3ef14f050fc7  Fix confl.


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/d11fcf985025f5c73141a5fa7dbae6f69a343153..80001e408a26070d3fba6778347e3ef14f050fc7


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2021-02-23 Thread Skif-off
@Skif-off pushed 1 commit.

d11fcf985025f5c73141a5fa7dbae6f69a343153  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/87ea4c672abec4354307964b3012945e1440909a..d11fcf985025f5c73141a5fa7dbae6f69a343153


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2021-02-23 Thread Skif-off
@Skif-off pushed 1 commit.

8cf1d9789d4fd4701906e11ade9b60ee7cfb3da9  TMP


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/ba6d9d80c13a9a1adfcbda86370572bebbe11165..8cf1d9789d4fd4701906e11ade9b60ee7cfb3da9


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2021-02-23 Thread Skif-off
@Skif-off pushed 1 commit.

fe88f93a625dd295c71f06bdad77b6923f9c75bd  An attempt to synchronization


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/3dd6dd915602fc1445a9c76661eb3ca922badd3a..fe88f93a625dd295c71f06bdad77b6923f9c75bd


[Github-comments] [geany/geany-plugins] GeanyLua/GTK3: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed (#1027)

2020-11-13 Thread Skif-off
Xubuntu 20.04
Geany 1.37.1, GTK 3.24.20, GLib 2.64.3
```
(gdb) run
Starting program: /usr/local/bin/geany
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7548c700 (LWP 80774)]
[New Thread 0x74be7700 (LWP 80775)]
[New Thread 0x7fffecc9e700 (LWP 80776)]
[New Thread 0x7fffe7fff700 (LWP 80777)]
[Detaching after fork from child process 80778]
[Thread 0x7fffe7fff700 (LWP 80777) exited]

(geany:80770): GLib-GObject-CRITICAL **: 08:43:38.441: g_object_get_data: 
assertion 'G_IS_OBJECT (object)' failed

Thread 1 "geany" received signal SIGSEGV, Segmentation fault.
0x7fffedc844e5 in gsdlg_option (label=0x56413338 "DICT", 
value=0x56413308 "dict",
key=0x56412e18 "proto", dlg=0x56403ed0) at gsdlg.c:479
479 cw=g_object_get_data(G_OBJECT(hbox), DataKey);
```
For test use 
[complex-dialog.lua](https://github.com/geany/geany-plugins/blob/master/geanylua/examples/dialogs/complex-dialog.lua)

Also I tried GTK2-version (Geany 1.36, GTK 2.24.32 and GLib 2.64.3): works fine.

-- 
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-plugins/issues/1027

Re: [Github-comments] [geany/geany-plugins] Problem with "Lua Script" after upgrade (GTK 3) (#690)

2020-11-09 Thread Skif-off
I think `message-dialog-restore-traditional-look-on-unity.patch` creates a 
problem, because only this patch contains the words `GtkMessageDialog`, 
`GtkWidget`,  `icon` and `image`. (By the way this bug exists in 
`geany.input()`'s window too.)

@b4n, will you add your patch to upstream?

-- 
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-plugins/issues/690#issuecomment-723858009

Re: [Github-comments] [geany/geany-plugins] Problem with "Lua Script" after upgrade (GTK 3) (#690)

2020-11-08 Thread Skif-off
What OS are you using? If it Debian or any non Ubuntu-based distribution then 
maybe this problem was born here 
https://salsa.debian.org/gnome-team/gtk3/-/tree/ubuntu/focal/debian/patches ?

Rebuilding for all GTK 3 packages only with patchs from Debian will stay last 
way of checking :)

-- 
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-plugins/issues/690#issuecomment-723570607

Re: [Github-comments] [geany/geany-plugins] Problem with "Lua Script" after upgrade (GTK 3) (#690)

2020-11-08 Thread Skif-off
@b4n , thanks, looks better:
![2020-11-08_14-40-13](https://user-images.githubusercontent.com/6333198/98463049-01ae9700-21d2-11eb-8986-3b42ae9d4999.png)

> However, I don't understand why you see a "missing image" image under GTK3.

Maybe problem 
[here](https://github.com/geany/geany-plugins/blob/master/geanylua/glspi_dlg.c#L14):
 `GTK_MESSAGE_OTHER` (without icon) replaced by `GTK_MESSAGE_INFO` (with icon)?

-- 
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-plugins/issues/690#issuecomment-723562115

Re: [Github-comments] [geany/geany-plugins] Problem with "Lua Script" after upgrade (GTK 3) (#690)

2020-11-07 Thread Skif-off
GTK2 vs. GTK3:
![geany 
choose](https://user-images.githubusercontent.com/6333198/98442970-c5236280-2121-11eb-995b-c6a2065680bf.png)
Xubuntu 20.04, Geany 1.37, GTK 3.24.20, GLib 2.64.3.

Is this the same problem? I tried Adwaita, Greybird (my default theme), Numix, 
but with the same result. Is this exactly a theme problem?
Maybe someone know, how to fix it?

-- 
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-plugins/issues/690#issuecomment-723450451

Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2020-10-27 Thread Skif-off
@Skif-off pushed 1 commit.

880b42374ef5084052138d09640fc9225512ac8b  TMP


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/cbfb1793fd7e7a10ab13f2d12c00face7f80045f..880b42374ef5084052138d09640fc9225512ac8b


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2020-10-27 Thread Skif-off
@Skif-off pushed 1 commit.

cbfb1793fd7e7a10ab13f2d12c00face7f80045f  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/4334220f5ac450b64564c197df9cf71d2f98be99..cbfb1793fd7e7a10ab13f2d12c00face7f80045f


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2020-10-27 Thread Skif-off
@Skif-off pushed 1 commit.

46ea3a97bea8efa286304a21c3c44f2eb732ab75  TMP: scintilla_changes.patch


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/cddcb3381aca382bcd7e54d889e5e098a9cd90a5..46ea3a97bea8efa286304a21c3c44f2eb732ab75


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2020-10-27 Thread Skif-off
@Skif-off pushed 1 commit.

7f7d82ea0e892fb0d5dac03c69c2bb707d163247  TMP


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/10c29b7166a742b8e0e960897626ac32cb83d709..7f7d82ea0e892fb0d5dac03c69c2bb707d163247


Re: [Github-comments] [geany/geany] Lua syntax highlighting changes (#2485)

2020-09-29 Thread Skif-off
In the first, we needs to define a minimum Lua version. Maybe 5.1+?

Because:

> which are undefined unless the user defines them:

`floor` is valid and defined, see Lua 4.x.x documentation.

> for example, still highlight math.sin but not sin because sin is not defined 
> by default.

it's not true too: see Lua 4.x.x documentation.

Why did I think and write about Lua 4.x.x? It's simple: I see `strlen`, 
`strlower`, `strrep`, `strsub` and other.

P.S. `type` is a bad example: this is a function from the basic library.

-- 
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/2485#issuecomment-700491275

Re: [Github-comments] [geany/geany] filetypes.lua: Change block comment (#2566)

2020-09-28 Thread Skif-off
Hm... in this case `--]]` looks more useful.

P.S. "Uncomment code" works strange with block comment.

-- 
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/2566#issuecomment-699899446

Re: [Github-comments] [geany/geany] filetypes.lua: Change block comment (#2566)

2020-09-28 Thread Skif-off
`]]--` or `--]]` don't make sense, because:
- `]]--`: comment will end with `]]` and `--` will be beginning of other 
(single) comment, in C/C++ it would be::
```c
/*
 Block comment
*/// Single comment
```
Such "coding style" looks like crap...

- `--]]`: comment will end with `]]` and `--` will be just a part of this block 
 comment: maybe it looks more beautiful, I am not sure, but it doesn't make any 
practical sense.

Maybe just replace on correct option
```ini
 comment_close=]]
```
?

-- 
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/2566#issuecomment-699836168

Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2020-09-28 Thread Skif-off
Any news?

-- 
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/1752#issuecomment-699794979

Re: [Github-comments] [geany/geany] Use Scintilla's JSON lexer for JSON instead of the JavaScript/C++ lexer (#2454)

2020-09-28 Thread Skif-off
@d5l6 , update `LexJSON.cxx`, please: [Scintilla 
3.21.1](https://github.com/geany/geany/commit/8f0909685dad46096ecf92152e82d309b0852bfd)
 has `LexJSON.cxx` with small changes.

-- 
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/2454#issuecomment-699794226

Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2020-09-27 Thread Skif-off
@Skif-off pushed 1 commit.

6ee606a0db5e13f23cc64e5c40bfa6cb196b4594  TMP2


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/97e394d3a651cdb12105b1d624fe242c80efa452..6ee606a0db5e13f23cc64e5c40bfa6cb196b4594


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2020-09-27 Thread Skif-off
@Skif-off pushed 1 commit.

d95b94b6d91c31d4830dbe87aeb9f77f7e57fca5  TMP


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/cc65f5005a8edb8579b5c7b18c065655bef8083c..d95b94b6d91c31d4830dbe87aeb9f77f7e57fca5


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2020-09-27 Thread Skif-off
@Skif-off pushed 1 commit.

64f97cc54b7822e8bcffca177bc2cb14d669dba1  TMP


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/f4c18cd4080404351737bafb94cd0419df8ea5da..64f97cc54b7822e8bcffca177bc2cb14d669dba1


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2020-09-15 Thread Skif-off
@Skif-off pushed 1 commit.

a9d0f924a32b13676e28a7e53fc06586bfed8ad0  TMP


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/d7e7cb35c7718ead2c9b3fb35585965d7e13823b..a9d0f924a32b13676e28a7e53fc06586bfed8ad0


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2020-09-13 Thread Skif-off
@Skif-off pushed 1 commit.

d7e7cb35c7718ead2c9b3fb35585965d7e13823b  ADD: lexer_properties section


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/ab1395e745f4b6b937fa548179f1f2c978564a87..d7e7cb35c7718ead2c9b3fb35585965d7e13823b


Re: [Github-comments] [geany/geany] Update Scintilla to version 3.21.0 (#2506)

2020-08-28 Thread Skif-off
Thanks! I tried yesterday, works fine.

-- 
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/2506#issuecomment-682724954

Re: [Github-comments] [geany/geany] Update Scintilla to version 3.20.0 (#2506)

2020-08-23 Thread Skif-off
@eht16, maybe you can try to update up to 3.21.0?

-- 
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/2506#issuecomment-678835811

Re: [Github-comments] [geany/geany-plugins] Update of Russian translation for the Addons plugin (#974)

2020-05-02 Thread Skif-off
I found my ru.po (or maybe one of them): I used "Копировать путь файла" because 
the "Copy File Path" command returns full path of file (```path``` + 
```name```), not just ```path```, and "значение цвета" instead "цветовой код" 
(but I don't remember why, "цветовой код" or "код цвета" are used very often).

Also I replaced all "клик" with "щелчок", because "клик" is jargon.

-- 
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-plugins/pull/974#issuecomment-622952228

Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2020-05-01 Thread Skif-off
@Skif-off pushed 1 commit.

ab1395e745f4b6b937fa548179f1f2c978564a87  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/91ba4337c11aba08b341637bede583254b6ecf9f..ab1395e745f4b6b937fa548179f1f2c978564a87


Re: [Github-comments] [geany/geany-plugins] Update of Russian translation for the Addons plugin (#974)

2020-05-01 Thread Skif-off
Why "выноску"? Why not "подсказку"?

Geany uses "подсказка" too: 
https://github.com/geany/geany/blob/master/po/ru.po#L3390

P.S. Thanks! :) I tried to translate (last attempt about a ~year ago), but I 
was not happy with the result in the ```workbench``` plugin...

-- 
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-plugins/pull/974#issuecomment-622323636

Re: [Github-comments] [geany/geany] Corrected a Russian translation of the word Appearance in Preferences (#2477)

2020-04-25 Thread Skif-off
I'm use Geany and I like Geany, so my fifty cents: I'm not a professional 
translator, but "Внешний вид" is not correct, "Вид" too. I think, in this case 
"Появление" is good solution.

I think, maybe would be nice to replace names of sort method on "by name" and 
"by appearance" (or maybe "by order" will be better): it will be looks more 
accurate.

-- 
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/2477#issuecomment-619441114

Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2019-10-31 Thread Skif-off
@Skif-off pushed 1 commit.

eeeb9e361ee6252d02c7825ea6464707098e56d3  TEGTE


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/ce327bd182ea42daef707df51736989f66c4ac8c..eeeb9e361ee6252d02c7825ea6464707098e56d3


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2019-10-31 Thread Skif-off
@Skif-off pushed 1 commit.

8cfbb83998b71a05f8e06c06d12e2ec6bfbe9dad  TMP


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/99de9cfe0c1049e8d91b7c837ec9b19fe1daaace..8cfbb83998b71a05f8e06c06d12e2ec6bfbe9dad


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2019-10-31 Thread Skif-off
@Skif-off pushed 1 commit.

218b2e5fe56e34957942b7f1a5644b4eef33131d  TMP


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/ad9364a2bdc9ad40bb974b17fd1f02e56860e4d7..218b2e5fe56e34957942b7f1a5644b4eef33131d


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2019-10-31 Thread Skif-off
@Skif-off pushed 1 commit.

7bbb36e808200c9ecdc65366a2365a9937bbbd8f  TMP


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/74ed22f9644f25c71cb8c6ca873606a083d52320..7bbb36e808200c9ecdc65366a2365a9937bbbd8f


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2019-10-31 Thread Skif-off
@Skif-off pushed 1 commit.

0f478a94dc6affe78ec9f7e7b39c79366b362dfc  TMP, will be squash later (fix rebase 
conflict)


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/d35e941f2f1c05330b85260f5c068076d39bd5fb..0f478a94dc6affe78ec9f7e7b39c79366b362dfc


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2019-09-29 Thread Skif-off
@Skif-off pushed 19 commits.

f8f4dd891bf1f21c9ebfba6daeb8407cdcb03650  Django highlighting in templates.
81f007297275a21e3d5cb42f3eb243eb1ab49455  Update of Latvian translation (#2319)
4fc18ea17916cce8536c27534229cc96ef3f797f  Update of Slovak translation (#2318)
30a2ff697deb6551b8f65aa2a96346e0c0936f04  Add updated sk and lv translation to 
NEWS
b055f59dfdae86e93b9457ebc4957cc4742f5e51  Merge pull request #2315 from 
djbaldey/django-syntax
7d540edbccc32e9164e21db4f38a796e6f744568  Update zh_CN.po (#2324)
24caa7f6b160f3176376c98acd18ed1e9c230396  Add updated zh_CN to NEWS
99eacb4416b9a0adfed0a1e46ba2740581535fae  Fix static build
16e3aa29e24ad9ba419665c86c75e79a87202191  Small update of German translation
83c9042ab75bcc12b87d1fea3399fa5166d00bd0  Add "Nim" to the Programming file 
types group
51d307c178b4c1f2d7f1220280f5da9a88a6b766  Update NEWS for upcoming 1.36 release
825acb21eabd33390616b224b0454886dc7d6ec2  Set release date
c9bdd73d82540bbfe9b13c6b6623e7c96a862f89  Post release version bump
4acdebf46ec2f0e701f541748a941d51b5b9fa94  Small update of making-a-release
22c2b86fbe7df74430835331eccbbce667e149fc  Small update of German translation
ad5a684c32e2474d00846e4a3edf0c5b8e2a1d47  Make Open Project dialog cancellable 
without closing existing session
bcbae3d49abdb6d27d3627c686bb3b96b338b997  Make New Project dialog cancellable 
without closing existing session
f40569d1c327af162726dbab14a78fd83ca5e0b8  Opening recent projects: Don't ask 
whether to close current project
d35e941f2f1c05330b85260f5c068076d39bd5fb  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/96dfbc14e2e38703e289fa41306bf5995597c379..d35e941f2f1c05330b85260f5c068076d39bd5fb


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2019-09-25 Thread Skif-off
@Skif-off pushed 30 commits.

21b06d1e4bf18f2cab137ab08a976dbf14274d58  prefer XDG_RUNTIME_DIR over /tmp for 
the socket (#)
7214a646f8b467f5c790c786bcc4c2f8b4226e21  Update ja.po: "Appearance" "外観"→"出現" 
(#2255)
46d5e7542b8396ed593f2e319f71d153a67684dc  Add support for fractional font sizes
c29bf208530f4a852c176afd6b8f65e1436c4611  Show the GTK/GLib versions in about 
dialog (#2163)
ec0e11ca040ef142ca1ab09f34951bf809b8839d  [docs] Move error_regex section to 
[build-menu]; add filetype example
aa90ea7035d0c01d1c5f00d97a0820a9daefac02  build.c: Replace ASSIGNIF inline 
macro with assign_cmd function
d19f7719a5c3c81b4fa87df4bd2c7d8f3959e117  Add Groovy custom filetype (#2188)
d80e36e85a031fc266fe200add05f0626a0696ad  TypeScript syntax highlighting
434cfe580b0fdf4cf4cd02f4f7cb0bbbfa922f5e  build.h: Move GBO_TO_* macros to 
build.c
f088e7bdf62b706cb3a3970cf2f937a7e7408d66  Move GEANY_GBO_COMPILE etc to build.c
0ce5d5484e39edc25bc996cc0bf01f5bdc2b5221  build.c: Remove g_ptr_array_foreach 
with gpointer user_data & update HACKING (#2270)
c88c27e2d22dbff72488d8a57a825830fb833682  Fix broken markup in HACKING
64a32db5e1d202b9055dd90dab335f7c2afa62c0  tests: unit test for some util strv 
functions
30a486d62462ad2bf34ac7af48547053f7167441  utils: fix suboptimal elipsis 
substitution by utils_strv_shorten_file_list()
72d9f378e0de976a6d3d9b5fb3107c1979f8895b  utils: refactor 
utils_strv_shorten_file_list() and friends
4b4a41e7f54eb1de3941854fc66f53811fb70ef9  utils: move 
utils_strv_shorten_file_list() out of GEANY_PRIVATE
746697ab07e87077758c0b71280cf90cd01a5146  Merge pull request #2262 from 
kugel-/fix-1445
411aa99c00f6af1156f0a7d891dfcf0ed072e476  configure: check for realpath 
function now MSYS2 has it (#2263)
21488bc4b225e777130daa72d2470e8da87970f8  Update po files for string freeze of 
1.36
0a9d076c688e72dc5e6211e287e00933cd6a3f44  Small update of the French translation
a4e27a04a96fa6f80ee78927da18569a91837c0c  Update version info for French 
translation
9e1bccc1c4b057eb4a2f14066ac6f46aa8f7e7c2  Small update of German translation
b52a1ef8fd5e201d35921002fa4549fa7b5a4ac1  Update of NEWS for translation 
updates since 1.35
736aa5566aa66a7847735361f8a346316c68526d  Update of Japanese translation
94a944114ba3d9db4e442472c44127fecf642a42  Update of Portuguese translation
64bd04b1bfb5d2218eee96afccab9c37d59edebb  Update danish translation to 1.36 
(#2313)
751644ccc7264d50180c2d99c7ddc2a8dea4c32f  it.po for 1.36 (#2311)
c669e69f000ca1b73ac8729f7614374200dfb43c  Updated Danish and Italian translation
328e39a6a419cbf653380716f41916fb96106cbe  Update of Spanish translation
96dfbc14e2e38703e289fa41306bf5995597c379  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/1a1af339fc370ec5451eadd43c332f036e03380c..96dfbc14e2e38703e289fa41306bf5995597c379


Re: [Github-comments] [geany/geany-plugins] JSON autoformater plugin (#891)

2019-08-07 Thread Skif-off
[JSON Prettifier](https://plugins.geany.org/jsonprettifier.html)?

-- 
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-plugins/issues/891#issuecomment-519214677

Re: [Github-comments] [geany/geany-plugins] Compile Geany Plugins on Windows (#887)

2019-07-19 Thread Skif-off
https://wiki.geany.org/howtos/win32/msys2 works fine for me (GTK2):
- One-time Setup
- GTK+2 compilation
- Plugins:
```sh
cd
curl -L -o geany-plugins-master.zip 
https://github.com/geany/geany/archive/master.zip
unzip geany-plugins-master.zip
cd geany-plugins-master
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/c/geany --with-geany-libdir=/c/geany/lib 
--disable-silent-rules
make -j2
make install
```
- Creating a GTK runtime bundle

-- 
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-plugins/issues/887#issuecomment-513435003

Re: [Github-comments] [geany/geany] added a bibtex parser that extracts identifiers of entries in bib-fil… (#2212)

2019-07-14 Thread Skif-off
> I am not sure though if Latex keywords should be highlighted.

I did not check how it works (if it works) :) But I think highlighting 
commented lines can be useful.

> Maybe it would be better to add a bibtex lexer in the future?

Maybe.

-- 
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/2212#issuecomment-511186376

Re: [Github-comments] [geany/geany] added a bibtex parser that extracts identifiers of entries in bib-fil… (#2212)

2019-07-11 Thread Skif-off
You must add `filetypes.bibtex` to the `filetypes` list (see 
`data/Makefile.am`), otherwise `make install` will not copy this file.

If without BibTeX lexer then maybe add `lexer_filetype=LaTeX` in section 
`[settings]`? In this case Geany will highlight comments and LaTeX keywords. 
Instead naked text...

-- 
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/2212#issuecomment-510362016

Re: [Github-comments] [geany/geany-plugins] spellcheck - use 2 languages at the same time (#876)

2019-07-01 Thread Skif-off
@toxpal, you can try to combine two dictionaries into one (for aspell see 
```dump``` and ```create ```, for hunspell maybe 
[this](https://github.com/arty-name/hunspell-merge) work).

-- 
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-plugins/issues/876#issuecomment-507328806

Re: [Github-comments] [geany/geany-plugins] geanynumberedbookmarks: fixed deprecated gtk calls for gtk3 (#862)

2019-05-15 Thread Skif-off
@LarsGit223 can you also check GeanyLua plugin? If you have [extra] free time 
and it's not too much work, of course :)

-- 
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-plugins/pull/862#issuecomment-492817843

Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2019-05-10 Thread Skif-off
@Skif-off pushed 1 commit.

9745ddc8175c7636dea11b0531f7fb539c1197f0  Tmp


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/90743609a43732e80ed7082ab1f6512dd75205d8..9745ddc8175c7636dea11b0531f7fb539c1197f0


Re: [Github-comments] [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2019-05-10 Thread Skif-off
@Skif-off pushed 1 commit.

9817e694b2ba5f40247cea578c9adfc8a13b  Tmp


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/24e24310c9b5b04d1562d723183816f0c2339f04..9817e694b2ba5f40247cea578c9adfc8a13b


  1   2   3   >