#23 SCN_UPDATEUI has no arguments set

v1.0
closed-fixed
5
2014-02-14
2012-12-25
Aleksander
No

I have registered a function for SCN_UPDATEUI notification and found out that it has no arguments set:

void ScintillaWrapper::notify(SCNotification *notifyCode)
{
if (!m_notificationsEnabled)
return;

std::pair<callbackT::iterator, callbackT::iterator> callbackIter 
    = m\_callbacks.equal\_range\(notifyCode->nmhdr.code\);

if \(callbackIter.first \!= callbackIter.second\)
\{
    std::shared\_ptr<CallbackExecArgs> args\(new CallbackExecArgs\(\)\);

    // Create the parameters for the callback
    args->params\["code"\] = notifyCode->nmhdr.code;

    switch\(notifyCode->nmhdr.code\)
    \{

...

[b]case SCN_UPDATEUI:
break;[/b]

I think the updated argument has to be added: args->params["updated"] = notifyCode->linesAdded;

Discussion

  • Aleksander

    Aleksander - 2012-12-25

    I think the updated argument has to be added: args->params["updated"] = notifyCode->updated;

     
  • Dave Brotherstone

    • Group: --> v1.0
     
  • Dave Brotherstone

    • status: open --> closed-fixed
     
  • Dave Brotherstone

    Fixed in v1.0

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks