Kaydet (Commit) ced51356 authored tarafından Enrico Tröger's avatar Enrico Tröger

applied patch from Nick Treleaven to improve multiline selection by selecting…

applied patch from Nick Treleaven to improve multiline selection  by selecting the lines in the line number margin


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@170 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 40ee39aa
/*
* sciwrappers.c - this file is part of Geany, a fast and lightweight IDE
*
* Copyright 2005 Enrico Troeger <enrico.troeger@uvena.de>
* Copyright 2006 Enrico Troeger <enrico.troeger@uvena.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -42,7 +42,7 @@ void sci_set_line_numbers(ScintillaObject * sci, gboolean set, gint extra_width)
g_snprintf(tmp_str, 15, "_%d%d", len, extra_width);
width = SSM(sci, SCI_TEXTWIDTH, STYLE_LINENUMBER, (sptr_t) tmp_str);
SSM (sci, SCI_SETMARGINWIDTHN, 0, width);
SSM (sci, SCI_SETMARGINSENSITIVEN, 0, TRUE);
SSM (sci, SCI_SETMARGINSENSITIVEN, 0, FALSE); // use default behaviour
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment