Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.