Branch: refs/heads/master
Author: Evgueni Antonov <strayferalmusic(a)gmail.com>
Committer: Evgueni Antonov <strayferalmusic(a)gmail.com>
Date: Wed, 10 May 2023 00:05:20 UTC
Commit: 838416c965c8243af6a3cb3673a9d8ce434d212e
https://github.com/geany/geany-themes/commit/838416c965c8243af6a3cb3673a9d8…
Log Message:
-----------
Added new color theme evg-ega-dark, tested as per the Geany maintainers requirements.
Modified Paths:
--------------
colorschemes/evg-ega-dark.conf
screenshots/evg-ega-dark.png
Modified: colorschemes/evg-ega-dark.conf
148 lines changed, 148 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,148 @@
+# Geany color theme
+# 2023 by Evgueni Antonov <Evgueni(dot)Antonov(at)gmail(dot)com>
+#
+# Created on Geany 1.38 (on lubuntu).
+# I created this theme specifically for Python, so this is how it was tested.
+# I can't guarantee how it will work and appear on previous Geany versions.
+#
+# PUBLIC DOMAIN
+#
+# Inspired by vim and the DOS era (the EGA color palette). Initially I wanted to use
+# 100% the EGA color palette, but then decided to darken some of the colors. Then
+# noticed how I like my vim theme, so I made a mix of them all.
+#
+
+
+[theme_info]
+name=Evg-EGA-Dark
+description=A dark theme inspired by vim, DOS and EGA
+# incremented automatically, do not change manually
+version=1225
+author=Evgueni Antonov <Evgueni(dot)Antonov(at)gmail(dot)com>
+url=https://github.com/StrayFeral/geany_tools/
+
+
+[named_colors]
+# DOS colors
+dos_grey=#9c9c9c
+
+# EGA palette
+white=#ffffff
+black=#000000
+ega_blue=#0000aa
+ega_green=#00aa00
+ega_cyan=#00aaaa
+ega_red=#aa0000
+ega_magenta=#aa00aa
+ega_brown=#aa5500
+ega_light_grey=#aaaaaa
+ega_dark_grey=#555555
+ega_bright_blue=#5555ff
+ega_bright_green=#55ff55
+ega_bright_cyan=#55ffff
+ega_bright_red=#ff5555
+ega_bright_magenta=#ff55ff
+ega_bright_yellow=#ffff55
+
+darker_blue=#000088
+darker_white=#e0e0e0
+darker_yellow=#cccc55
+darker_cyan=#005050
+fruity_dark_red=#aa88aa
+
+# Misc
+background_color=#000000
+text_color=#00aaaa
+current_line_background_color=#202020
+selection_background_color=#383838
+margin_line_number_background_color=#202020
+
+
+[named_styles]
+default=dos_grey;background_color;false;false
+error=ega_bright_red;background_color;false;false
+
+# Editor styles
+#-------------------------------------------------------------------------------
+
+selection=dos_grey;selection_background_color;false;true
+current_line=dos_grey;current_line_background_color;true;false
+brace_good=white;ega_cyan;true;true
+brace_bad=ega_bright_yellow;ega_red;true;true
+margin_line_number=dos_grey;margin_line_number_background_color;false;false
+margin_folding=dos_grey
+fold_symbol_highlight=ega_blue
+indent_guide=ega_blue
+caret=white;white;false
+marker_line=ega_blue;ega_brown
+marker_search=ega_cyan;ega_cyan;false;false
+marker_mark=ega_bright_magenta
+call_tips=dos_grey;white;false;false
+white_space=ega_bright_blue;;true
+
+# Programming languages
+#-------------------------------------------------------------------------------
+
+comment=ega_dark_grey;background_color;true;true
+comment_doc=ega_dark_grey;background_color;false;false
+comment_line=comment
+comment_line_doc=comment_doc
+comment_doc_keyword=comment_doc
+comment_doc_keyword_error=comment_doc
+
+number=ega_bright_magenta
+number_1=number
+number_2=number_1
+
+type=ega_bright_cyan;;true;false
+class=type
+function=type
+parameter=function
+
+keyword=darker_yellow
+keyword_1=keyword
+keyword_2=ega_bright_cyan
+keyword_3=keyword
+keyword_4=keyword
+
+identifier=default
+identifier_1=dos_grey
+identifier_2=identifier
+identifier_3=identifier
+identifier_4=identifier
+
+string=ega_green
+string_1=string
+string_2=string_1
+string_3=string_1
+string_4=string_1
+string_eol=text_color
+character=string_1
+backticks=string_2
+here_doc=ega_dark_grey
+
+scalar=string_2
+label=white
+preprocessor=text_color
+regex=number_1
+operator=white
+decorator=ega_brown
+other=default
+
+# Markup-type languages
+#-------------------------------------------------------------------------------
+
+tag=ega_bright_yellow
+tag_unknown=ega_bright_red
+tag_end=text_color
+attribute=ega_brown
+attribute_unknown=ega_bright_red
+value=white
+entity=white
+
+# Diff
+#-------------------------------------------------------------------------------
+
+line_added=ega_bright_green
+line_removed=ega_red
+line_changed=ega_bright_blue
Modified: screenshots/evg-ega-dark.png
0 lines changed, 0 insertions(+), 0 deletions(-)
===================================================================
No diff available, check online
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Nick Treleaven <ntrel002(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: Mon, 08 May 2023 11:44:00 UTC
Commit: 54665998383eb03c5565aa360ff56ed4f7792aa6
https://github.com/geany/geany/commit/54665998383eb03c5565aa360ff56ed4f7792…
Log Message:
-----------
Make Go to Symbol commands show signature list (#3475)
When there is more than one matching symbol.
For variables, show type.
For callables, show (at least) parameter list.
Show non-first item using italic `file:line:`.
Modified Paths:
--------------
src/symbols.c
Modified: src/symbols.c
9 lines changed, 7 insertions(+), 2 deletions(-)
===================================================================
@@ -536,6 +536,7 @@ static const gchar *get_symbol_name(GeanyDocument *doc, const TMTag *tag, gboole
}
+// Returns NULL if the tag is not a variable or callable
static gchar *get_symbol_tooltip(GeanyDocument *doc, const TMTag *tag)
{
gchar *utf8_name = tm_parser_format_function(tag->lang, tag->name,
@@ -1508,14 +1509,18 @@ static void show_goto_popup(GeanyDocument *doc, GPtrArray *tags, gboolean have_b
GtkWidget *image;
gchar *fname = short_names[i];
gchar *text;
+ gchar *sym = get_symbol_tooltip(doc, tmtag);
+ if (!sym)
+ sym = g_strdup("");
if (! first && have_best)
/* For translators: it's the filename and line number of a symbol in the goto-symbol popup menu */
- text = g_markup_printf_escaped(_("<b>%s: %lu</b>"), fname, tmtag->line);
+ text = g_markup_printf_escaped(_("<b>%s:%lu:</b> %s"), fname, tmtag->line, sym);
else
/* For translators: it's the filename and line number of a symbol in the goto-symbol popup menu */
- text = g_markup_printf_escaped(_("%s: %lu"), fname, tmtag->line);
+ text = g_markup_printf_escaped(_("<i>%s:%lu:</i> %s"), fname, tmtag->line, sym);
+ g_free(sym);
image = gtk_image_new_from_pixbuf(symbols_icons[get_tag_class(tmtag)].pixbuf);
label = g_object_new(GTK_TYPE_LABEL, "label", text, "use-markup", TRUE, "xalign", 0.0, NULL);
item = g_object_new(GTK_TYPE_IMAGE_MENU_ITEM, "image", image, "child", label, "always-show-image", TRUE, NULL);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).