- 02 Eyl, 2013 40 kayıt (commit)
-
-
Gergo Mocsi yazdı
Added a function to disable QuickSelectionEngine in ListBox, beacuse it's not needed. ListBox navigation changed: it is not hiding/showing entries, instead of it, jumps to the longest match without filtering. Arrow behavior remains the same. Change-Id: I8982c280f20929c74f9630cbaa95010820d2e234
-
Noel Power yazdı
Change-Id: I61f4a6af62d67f2fd5f421e2173cca179d399815
-
Noel Power yazdı
note: using VBA objects with the code completion is not possible at the moment. Unfortunately there is some hard coded hacks for flattening the namespace used by checkUnoObject. Change-Id: Ic3a3149f41a6959943e71fa7ac22ff4dab7f30a1
-
Gergo Mocsi yazdı
The CodeCompleteDataCache got a new implementation: global variables are stored separately. The "static const" OUString-s were removed from the class. Data extraction is only done when pressing the dot key. Change-Id: I3ff94c0c6eabe328761336d4c74744eb7efc6056
-
Gergo Mocsi yazdı
Created a ModalDialog named CodeCompleteOptionsDlg to edit options for code completition/suggestion. Unimplemented features in it are disabled. The dialog window uses Glade .ui file. Change-Id: I1b59f386a9575aa25b38c5a1d7d1f020498a69ab
-
Gergo Mocsi yazdı
Menu entry is added under View->Enable Code Completition when in Experimental mode. Fixed the call of funtion SbModule::GetCodeCompleteDataFromParse() to be called only when code completition is enabled. Replaced the occurences of SvtMiscOptions to CodeCompleteOptions. Change-Id: If0520123ab5f612d7d24fb98f8e9bf6881af76cb
-
Noel Power yazdı
Change-Id: Id33342491dd9bad0ee2f1a7bc648ed669a2b92b9
-
Gergo Mocsi yazdı
Fixed the definition of GLOB_KEY, NOT_FOUND from const to static const. Added a new menu entry for code completition under View->Enable Code Completition. Change-Id: If8ac25ee43a7ba780ccdee2e5e909777115a1f27
-
Gergo Mocsi yazdı
CodeCompleteWindow is hidden when clicking out: thi is implemented in EditorWindow::MouseButtonDown: if CodeCompleteWindow is visible and the actual TextSelection of the window and the parent's TextView is different, hide the window (I assume the user changed selection, eg. clicked on other line, etc.). Change-Id: Icb6bcffa837b2f7e1ccef288b9d762e27649410b
-
Gergo Mocsi yazdı
Fixed the link error: declared CodeCompleteDataCache as BASIC_DLLPUBLIC and it worked fine. Fixed sergmentation fault error in CodeCompleteWindow. The new cache implementation is fully functional. CodeCompleteWindow is now being used as boost::scoped_ptr. Change-Id: I76a0fc7407d589e7f94280fc4d50cea51b9639db
-
Gergo Mocsi yazdı
WARNING: cache implementation gives a link error to it's methods. Created the cache called CodeCompleteDataCache in file include/basic/codecompletecache.hxx This class should replace the std::vector< CodeCompleteData > int file baside2b.cxx When issuing command "make basic", it compiles fine, but, when "make basctl", it gives a link error (ld returned status 1) to CodeCompleteDataCache's methods. Change-Id: If78c6533b7fb5653cc459d22b80c98d097b886eb
-
Gergo Mocsi yazdı
ListBox sorts entries alphabetically. When typing, filters the matching function names. ListBox closes on key tab and space, beacuse I assume the user typed in the whole function name. Change-Id: I045b1b990b0e0af70de75c32249b7497b51b9e98
-
Gergo Mocsi yazdı
Added a function to select the first entry in the ListBox by default. Selected entry can be inserted with the ENTER key. Fixed some code in basic code generation class (SbiCodeGen). Change-Id: Ia6eb43ee5661a0a3ae0b738b619f19972f019eac
-
Gergo Mocsi yazdı
Fixed the window width to adopt size by longest entry. Window height is set to display 8 lines, plus the scrollbar. When selected, window can be close by the ESC key( done by PreNotify() ). Also, renamed it to CodeCompleteWindow for consistency. Change-Id: I9cd53c3d868cdaeb8d391547f16da7038278154b
-
Gergo Mocsi yazdı
Changed CodeCompleteListBox into a Window which contains a single ListBox. Navigation with arrows is enabled, window closes on ESC key. Double click inserts the selected method into the source code. Visible line count in ListBox is set to 8 lines, width is adopted from the longest entry. Change-Id: I6b6ceb0ce78f9fc727aed53952dc6ee24cba47df
-
Gergo Mocsi yazdı
Ive fixed the parameter problem: I use the tokens created by the syntax highlighter (it's struct HighlightPortion), and put the identiiers to the vector, and reflect them. Change-Id: I08888e4a8bf00fa987a16466f4a5ac03836e5ee7
-
Gergo Mocsi yazdı
This week I've managed to fix the ListBox appearance. Also, I've modified the code: it gets the data on insert/remove/change, and gets updated only when the dot is pressed. This makes the data to be up-to-date. Next, I wrote a Split(OUString , char) function to do the nested reflection (It works, but it will need some tweaks later). Also, code generation is disabled for code completition (just a boolean value, maybe it could be done in a more "elegant" way, like the error supression). Change-Id: I43d250c0a065351950ac6424dcd88266d70bcef3
-
Gergo Mocsi yazdı
This patch allows the pop-up CodeCompleteListBox to appear under the cursor. It's size is fixed:150x150. Also, I've fixed a bug in extracting the current variable name. Change-Id: Id98cb1c29be72af07a25aac3d51561f072bf103e
-
Gergo Mocsi yazdı
This patch allows the Code Completition feature to list methods in a custom ListBox class called CodeCompleteListBox. So, when the user presses the dot("."), a ListBox appears, and listed the methods(not just prints on the terminal). The user can select one from them, and it is put in the source code (after the dot). Change-Id: Ie5165e7bdaae1d96bbf40a9b996ca8ebbdb40dea
-
Gergo Mocsi yazdı
This is an early version. I use the BASIC parser to parse the source, then the infromation is extracted from the symbol table built by parser. Error reporting is suppressed, beacuse it is not needed fro code completition. I placed my function inside SbModule, and created a struct called CodeCompletitionData, which holds the object's name, it's parent, and it's type name. This function, SbMethod::GetCodeCompleteDataFromParse() is called from Basic IDE's Notify function, which updates a cache(actually, reassigns a viariable :) ). Later, in the EditorWindow::KeyInput function there is a check wheteher dot key is pressed. After that, the actual variable (or word) is being looked up in the vector that holds code completition data. And finally, if it is found, it's methods are printed on the terminal. Change-Id: Idaf19baa8f720b8b117a76dc3cc2f90dd04fd155
-
Gergo Mocsi yazdı
Introduced a new function calles IsUnoInterface in SbiParser to determine, if a variable is a type of an UNO interface. It uses reflection.CoreReflection to do that, on success it returs true otherwise false. Change-Id: I18895127bcbd92dc7a25feb5d82a7d1343bde851
-
Eike Rathke yazdı
rsc needs to resolve all known defined languages without access to liblangtag because that would need /usr/local/share/liblangtag/language-subtag-registry.xml so we'd end up with a bootstrap problem (or would have to pass the database path). Change-Id: I6b966d45080da26cb89169cdb40cd8a58c04a276
-
Caolán McNamara yazdı
Project: help c43188ed28a2cf2b32f459e5b45abdc46d9cdd23
-
Armin Le Grand yazdı
allow bigger limits if directly requested (cherry picked from commit 50f1445b) Conflicts: svx/source/unodraw/UnoGraphicExporter.cxx Change-Id: I33576ef9f95b9f8a9fa0ab6f6d83c93ecec8da9f
-
Caolán McNamara yazdı
Change-Id: Id596ceaebc0dda3be046be89f22b6bf1a304fa4e
-
Michael Stahl yazdı
Change-Id: Ie9ef3324bb7a9e954db57548d7862a90b070ebd3
-
Michael Stahl yazdı
Change-Id: Ifa2df0e2dcc193ae02202687c0d6b7ab930db58f
-
Ivan Timofeev yazdı
Change-Id: Ic7e61d002638991f2d69462d343f1b29bc9b0040
-
Ivan Timofeev yazdı
Change-Id: I0557dcc191aab97adb6aa68ebee1970a11600f4f
-
Ivan Timofeev yazdı
Change-Id: I2e7caabbc8464a2a6ee214085e7ea43ba436e030
-
Jesús Corrius yazdı
Change-Id: I12afdc1c25bb09d20fd0698831642b953e08bb63
-
Michael Stahl yazdı
Checking a string of 17399 spaces takes 20 seconds here in GrammarCheckingIterator::GetSuggestedEndOfSentence() because BreakIterator_Unicode::endOfSentence() will always return 0 as a result regardless of what nStartPos it gets. Change-Id: Id02440a91d7015c2896e387854445ee5383092fa
-
Cédric Bosdonnat yazdı
Change-Id: I3d7fc2c01d58da58eb984ad5c10435f86f87f56a
-
Caolán McNamara yazdı
Change-Id: I7ce02cb53e6164e69f0d4efd9863ba16a4fab025
-
Stephan Bergmann yazdı
Change-Id: I4d53223c12b7c8f793b236f9b2657bd339b345e9
-
Tor Lillqvist yazdı
A warning that reveals what surely must be coding glitches. Thanks, Clang. Change-Id: Ieb1e09b91a4ab63c2ab15bb4874ac82b57c174cf
-
Viktor Varga yazdı
Change-Id: I1749714154be9c2aea7a8623719c38601abc13ba Reviewed-on: https://gerrit.libreoffice.org/5750Reviewed-by:
Andras Timar <atimar@suse.com> Tested-by:
Andras Timar <atimar@suse.com>
-
Tor Lillqvist yazdı
Change-Id: I556d03a5bbd74faa26d73a8e84147c9743c20507
-
Tor Lillqvist yazdı
Change-Id: I9f62a2eef5113e0ab1c06f818b2a64ad84c06b84
-
Eike Rathke yazdı
Change-Id: I3c65cb43696a829f29ab573b7b6e424a39d1a547
-