summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/sbasic/shared/keys.xhp
blob: dd631b49210ffa728f86e9c21bab298c437f78ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?xml version="1.0" encoding="UTF-8"?>


<!--***********************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: keys.xhp,v $
 * $Revision: 1.5.4.1 $
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************-->
	
<helpdocument version="1.0">
<meta>
<topic id="textsbasicsharedkeysxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Keyboard Shortcuts in the Basic IDE</title>
<filename>/text/sbasic/shared/keys.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2004-08-24T12:53:28">converted from old format - fpe</lastedited>
</history>
</meta>
<body>
<section id="keys">
<bookmark xml-lang="en-US" branch="index" id="bm_id3154760"><bookmark_value>keyboard;in IDE</bookmark_value>
<bookmark_value>shortcut keys;Basic IDE</bookmark_value>
<bookmark_value>IDE;keyboard shortcuts</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/keys.xhp" name="Keyboard Shortcuts in the Basic IDE">Keyboard Shortcuts in the Basic IDE</link></paragraph>
</section>
<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US" l10n="U" oldref="2">In the Basic IDE you can use the following keyboard shortcuts:</paragraph>
<table id="tbl_id3153381">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3154908" xml-lang="en-US" l10n="U" oldref="3">Action</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="4">Keyboard shortcut</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="5">Run code starting from the first line, or from the current breakpoint, if the program stopped there before</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3163712" xml-lang="en-US" l10n="U" oldref="6">F5</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="7">Stop</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3154319" xml-lang="en-US" l10n="CHG" oldref="8">Shift+F5<comment>UFI: feature mail "changed/CWS tbe10 : Basic IDE keyboard shortcuts"</comment></paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3151073" xml-lang="en-US" l10n="U" oldref="11">Add <link href="text/sbasic/shared/01050100.xhp" name="watch">watch</link> for the variable at the cursor</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3154731" xml-lang="en-US" l10n="U" oldref="12">F7</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="13">Single step through each statement, starting at the first line or at that statement where the program execution stopped before.</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="14">F8</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3156275" xml-lang="en-US" l10n="U" oldref="15">Single step as with F8, but a function call is considered to be only <emph>one</emph> statement</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="16">Shift+F8</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150323" xml-lang="en-US" l10n="U" oldref="17">Set or remove a <link href="text/sbasic/shared/01030300.xhp" name="breakpoint">breakpoint</link> at the current line or all breakpoints in the current selection</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3147339" xml-lang="en-US" l10n="U" oldref="18">F9</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3153963" xml-lang="en-US" l10n="U" oldref="19">Enable/disable the breakpoint at the current line or all breakpoints in the current selection</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3155175" xml-lang="en-US" l10n="U" oldref="20">Shift+F9</paragraph>
</tablecell>
</tablerow>
</table>

<paragraph role="paragraph" id="par_id3154702" xml-lang="en-US" l10n="U" oldref="21">A running macro can be aborted with Shift+<switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Q, also from outside of the Basic IDE. If you are inside the Basic IDE and the macro halts at a breakpoint, Shift+<switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Q stops execution of the macro, but you can recognize this only after the next F5, F8, or Shift+F8.</paragraph>
</body>
</helpdocument>