Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
G
geany
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
geany
Commits
cd267de2
Kaydet (Commit)
cd267de2
authored
Ock 13, 2019
tarafından
Colomban Wendling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge pull request #2036 from techee/symbol_tree_vartype
Show variable type in a tooltip in symbol tree
üst
ecf98b1e
a2c9c22f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
symbols.c
src/symbols.c
+12
-0
No files found.
src/symbols.c
Dosyayı görüntüle @
cd267de2
...
...
@@ -908,6 +908,18 @@ static gchar *get_symbol_tooltip(GeanyDocument *doc, const TMTag *tag)
{
gchar
*
utf8_name
=
editor_get_calltip_text
(
doc
->
editor
,
tag
);
if
(
!
utf8_name
&&
tag
->
var_type
&&
tag
->
type
&
(
tm_tag_field_t
|
tm_tag_member_t
|
tm_tag_variable_t
|
tm_tag_externvar_t
))
{
if
(
tag
->
lang
!=
TM_PARSER_PASCAL
&&
tag
->
lang
!=
TM_PARSER_GO
)
utf8_name
=
g_strconcat
(
tag
->
var_type
,
" "
,
tag
->
name
,
NULL
);
else
{
const
gchar
*
sep
=
tag
->
lang
==
TM_PARSER_PASCAL
?
" : "
:
" "
;
utf8_name
=
g_strconcat
(
tag
->
name
,
sep
,
tag
->
var_type
,
NULL
);
}
}
/* encodings_convert_to_utf8_from_charset() fails with charset "None", so skip conversion
* for None at this point completely */
if
(
utf8_name
!=
NULL
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment