U++: Issueshttps://www.ultimatepp.org/redmine/https://www.ultimatepp.org/redmine/redmine/favicon.ico2017-02-24T14:10:17ZRedmine
Redmine Bug #1650 (New): TreeCtrl set does not update the scroll recthttps://www.ultimatepp.org/redmine/issues/16502017-02-24T14:10:17Zcbpporter cbpporter
<p>Calling Set(int id, Value k, Value v) (and potentially TreeCtrl::Set(int id, Value v); did not test) in such a way that the value of a key shrinks in its pixel size when rendered on the screen does not lead to an update of the TreeCtrl's scroll rectangle.</p>
<p>I found a solution but I'm not sure if it is correct, by adding a Dirty call:</p>
<pre>
void TreeCtrl::Set(int id, Value k, Value v)
{
Item& m = item[id];
if(m.ctrl)
m.ctrl->SetData(v);
else {
m.key = k;
m.value = v;
RefreshItem(id);
}
// fix????
Dirty(id);
SetOption(id);
}
</pre> Feature #1604 (In Progress): Streamlined and corrected CodeEditor bar size and positionshttps://www.ultimatepp.org/redmine/issues/16042017-01-04T15:43:24Zcbpporter cbpporter
<p>Just simply dropping a CodeEditor somewhere and setting up the correct properties can often lead to elements like change tracker, #if highlight, numbers, breakpoints, annotations to clip.</p>
<p>You either need to fiddle with them in counter intuitive ways or accept the clipping.</p>
<p>The fix makes everything add up in a simple fashion and there is no clipping.</p>
<p>Side effects: the bar can be a few pixels wider than the old one. Shouldn't be a problem with modern high width monitors. Maybe scaling needs to be added?</p>