Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add style 'line_height' to increase the line height.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3935 ea778897-0a13-0410-b9d1-a72fbfd435f5
- Loading branch information
Showing
4 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -83,6 +83,7 @@ enum /* Geany common styling */ | |||
GCS_MARKER_LINE, | ||||
GCS_MARKER_SEARCH, | ||||
GCS_MARKER_TRANSLUCENCY, | ||||
GCS_LINE_HEIGHT, | ||||
GCS_MAX | ||||
}; | ||||
|
||||
|
@@ -580,6 +581,10 @@ static void styleset_common_init(gint ft_id, GKeyFile *config, GKeyFile *config_ | |||
256, 256, &tmp_style); | ||||
common_style_set.styling[GCS_MARKER_TRANSLUCENCY].foreground = tmp_style.foreground; | ||||
common_style_set.styling[GCS_MARKER_TRANSLUCENCY].background = tmp_style.background; | ||||
get_keyfile_int(config, config_home, "styling", "line_height", | ||||
0, 0, &tmp_style); | ||||
common_style_set.styling[GCS_LINE_HEIGHT].foreground = tmp_style.foreground; | ||||
common_style_set.styling[GCS_LINE_HEIGHT].background = tmp_style.background; | ||||
} | ||||
|
||||
common_style_set.invert_all = interface_prefs.highlighting_invert_all = | ||||
|
@@ -601,6 +606,10 @@ static void styleset_common(ScintillaObject *sci) | |||
else | ||||
SSM(sci, SCI_SETCARETSTYLE, CARETSTYLE_LINE, 0); | ||||
|
||||
/* line height */ | ||||
SSM(sci, SCI_SETEXTRAASCENT, common_style_set.styling[GCS_LINE_HEIGHT].foreground, 0); | ||||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
elextr
Member
|
gint foreground; /**< Foreground text colour, in @c 0xBBGGRR format. */ |
I don't see where these members (foreground and background) are declared. ?