summaryrefslogtreecommitdiffstats
path: root/basic/source/inc/token.hxx
diff options
context:
space:
mode:
authorGergo Mocsi <gmocsi91@gmail.com>2013-08-13 18:11:26 +0200
committerGergo Mocsi <gmocsi91@gmail.com>2013-09-02 18:16:58 +0200
commit9b534193a3132764f7c5a659025ab2c49bfb2605 (patch)
tree87120c12459bcf72ec84afe1caef241cb0e6faa7 /basic/source/inc/token.hxx
parentGSOC work, Tool/Options/Basic IDE Options created (diff)
downloadcore-9b534193a3132764f7c5a659025ab2c49bfb2605.tar.gz
core-9b534193a3132764f7c5a659025ab2c49bfb2605.zip
GSOC work, behavior fixes
Code completition: left/right arrow keys handled. Left arrow dismisses the dialog when reaches the dot. Right arrow dismissed the dialog when reaches the next line. ListBox appearance fixed. TAB key can insert the first matching entry. Autocorrect: "Autocorrect Keywords" has been renamed to "Autcorrect" (in the UI, and the config file, after this patch a make dev-install is needed). Keyword case correction is not just capitalizing the first letter ( eg. Elseif -> ElseIf ). Autoclose procedures: cursor is being placed inside the preocedure. Change-Id: Ie7e9ae96b49bd94562db83f96e1c4ad63ab3f3d6
Diffstat (limited to 'basic/source/inc/token.hxx')
-rw-r--r--basic/source/inc/token.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/basic/source/inc/token.hxx b/basic/source/inc/token.hxx
index 0ce9cf443f58..cf127bc798f2 100644
--- a/basic/source/inc/token.hxx
+++ b/basic/source/inc/token.hxx
@@ -167,6 +167,7 @@ public:
{ return t >= FIRSTKWD && t <= LASTKWD; }
static bool IsExtra( SbiToken t )
{ return t >= FIRSTEXTRA; }
+ static OUString GetKeywordCase( const OUString& sKeyword );
};