[Vala] valaDevelop



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]