From 73d3c9504a479e62126d1e7a1766173370603aa1 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Wed, 16 Nov 2011 14:53:38 +0000 Subject: add new 'Goto Line' menu item to Basic IDE --- sfx2/inc/sfx2/sfxsids.hrc | 3 ++- sfx2/sdi/sfx.sdi | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/inc/sfx2/sfxsids.hrc b/sfx2/inc/sfx2/sfxsids.hrc index baf4b5615d3b..568b21b94c10 100755 --- a/sfx2/inc/sfx2/sfxsids.hrc +++ b/sfx2/inc/sfx2/sfxsids.hrc @@ -314,7 +314,8 @@ #define SID_SUGGESTEDSAVEASNAME (SID_SFX_START + 1721) #define SID_ENCRYPTIONDATA (SID_SFX_START + 1722) #define SID_PASSWORDINTERACTION (SID_SFX_START + 1723) -#define SID_SFX_free_START (SID_SFX_START + 1724) +#define SID_GOTOLINE (SID_SFX_START + 1724) +#define SID_SFX_free_START (SID_SFX_START + 1725) #define SID_SFX_free_END (SID_SFX_START + 3999) #define SID_OPEN_NEW_VIEW (SID_SFX_START + 520) diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index b5b432fa39db..b73f17a06a0b 100755 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -3619,6 +3619,30 @@ SfxVoidItem RunMacro SID_RUNMACRO GroupId = GID_MACRO; ] +SfxVoidItem GotoLine SID_GOTOLINE + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = TRUE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_MACRO; +] + //-------------------------------------------------------------------------- SfxVoidItem MacroDialog SID_BASICCHOOSER () -- cgit