GSOC weekly report
Noel Power
nopower at suse.com
Mon Jul 8 05:40:53 PDT 2013
On 01/07/13 07:47, Gergő Mocsi wrote:
> Hi all,
> this week I've managed to dislpay the ListBox (CodeCompleteListBox),
> and list the methods in it.
which is great!! nice progress
> The code completition is still triggered by the ".", but sometimes the
> source/parser are not in sync(meaning that it does not parse the most
> asctual version of the source, I'm still working out why).
hopefully what we discussed on irc explained it ( if not get back to me )
> The ListBox is displayed under the current line, ant it's size is set
> to 150x150.
we need to make the listbox display a set number of lines and a width
perhaps based on the min of available width and longest entry in the
list ( rather than a hard size ) e.g. different fonts affect this, best
is to calculate this using GetTextHeight (
http://opengrok.libreoffice.org/xref/core/include/vcl/outdev.hxx#582 )
and GetTextWidth (
http://opengrok.libreoffice.org/xref/core/include/vcl/outdev.hxx#582 )
> This week I'm going to disable some thing in parser when doing code
> completition (like gode generation), and I'll make the parser to
> accept any string to parse.
sounds good :-)
Noel
More information about the LibreOffice
mailing list