--- In [email protected], "forxtra" <forx...@...> wrote: > > --- In [email protected], "Sheri" <sherip99@> wrote: > > > > --- In [email protected], "forxtra" <forxtra@> wrote: > > > > > > I'm just wondering why we use note's content instead of actual > > > filename passed as arguments for indentifying Notes? > > > > That is only done for notes that are already open because we don't > > want to create multiple windows for the same note. > > > Thanks for explain, and sorry for the dumb question.
Not so dumb...! Your English is excellent btw. I think the script is much improved now (open notes now sourced from windows, not files) <http://tech.groups.yahoo.com/group/power-pro/files/0_TEMP_/NoteMenuUpdates/NoteMenu_209.zip> > > > > BTW, I think the Holidays script should work without special > > processing for double byte code page if you'd like to try it. > > > It's interesting. > > I've been running DLL plugin v1.03 with default configuration ini > file(dll.ini) and the value of the indexBase in the dll.ini is 0. > > so, The first element of the st_offset_vec used in a callback > function is indexed by subscript of 0. Thanks! I added dll.set_base(1) into the processing, and also code to reset whatever the original base from dll.get_base was at the end. I haven't looked at what happens with zero, but I imagine it wasn't happy. :) <http://tech.groups.yahoo.com/group/power-pro/files/0_TEMP_/NoteMenuUpdates/Holidays_V113.zip> Please try the new versions. If you don't find anything else, I will move them out of the test folder. > FYI, > If there exists a broken character (displayed as question mark) at > the end of a truncated string, the broken portion is not appear in > the Menu/Bar. > > so, if characters are selected from the start and truncated strings > are used only for labels/tooltips, it might not be important to > consider dbsc-related issue. > Maybe not critical, but with truncated strings, you would sometimes get only half the desired character width. Since I'm not truncating strings with dblcs=1, if you have a long note with no white space, the tooltip gets no line breaks. But if I did let regex split such a string into lines, it sounds like each line could have a character missing at its end. Regards, Sheri
