[Vala] valaDevelop
- From: Wolfgang Mauer <wolfgang mauer kabelmail de>
- To: Vala-list <vala-list gnome org>
- Subject: [Vala] valaDevelop
- Date: Sun, 24 Mar 2019 17:34:57 +0100
Because there are already requests, I want to implement the possibility
of "REGIONS"...
The whole thing should look something like this: On build and analyse a
fixed define is internally added(--define=REGION)
if you execute the toggle-folding-command in editor everything inside
the "#if REGION" and "#endif" will be hidden and replaced by something
like "[... REGION]"
Does anyone here see a problem using this fixed define ?
#if REGION
breakPointRenderer.del_breakpoint.connect( (e) =>
{
((Gtk.ListStore)breakPoints.model).@foreach( (model, path, iter) =>
{
Value line, file;
model.get_value(iter, 2, out line);
model.get_value(iter, 3, out file);
if ((int)line == e+1 && (string)file == fullPath)
{
((Gtk.ListStore)breakPoints.model).remove(ref iter);
if (_debugger != null)
_debugger.del_breakpoint((int)line, (string)file);
del_breakpoint_from_solution((int)line, (string)file);
return true;
}
return false;
});
});
#endif
Greetings
Wolfgang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]