1<?xml version="1.0" encoding="UTF-8"?>
2
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25
26
27<helpdocument version="1.0">
28<meta>
29<topic id="textsbasicsharedkeysxml" indexer="include" status="PUBLISH">
30<title id="tit" xml-lang="en-US">Keyboard Shortcuts in the Basic IDE</title>
31<filename>/text/sbasic/shared/keys.xhp</filename>
32</topic>
33<history>
34<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
35<lastedited date="2004-08-24T12:53:28">converted from old format - fpe</lastedited>
36</history>
37</meta>
38<body>
39<section id="keys">
40<bookmark xml-lang="en-US" branch="index" id="bm_id3154760"><bookmark_value>keyboard;in IDE</bookmark_value>
41<bookmark_value>shortcut keys;Basic IDE</bookmark_value>
42<bookmark_value>IDE;keyboard shortcuts</bookmark_value>
43</bookmark>
44<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>
45</section>
46<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>
47<table id="tbl_id3153381">
48<tablerow>
49<tablecell colspan="" rowspan="">
50<paragraph role="tablehead" id="par_id3154908" xml-lang="en-US" l10n="U" oldref="3">Action</paragraph>
51</tablecell>
52<tablecell colspan="" rowspan="">
53<paragraph role="tablehead" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="4">Keyboard shortcut</paragraph>
54</tablecell>
55</tablerow>
56<tablerow>
57<tablecell colspan="" rowspan="">
58<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>
59</tablecell>
60<tablecell colspan="" rowspan="">
61<paragraph role="tablecontent" id="par_id3163712" xml-lang="en-US" l10n="U" oldref="6">F5</paragraph>
62</tablecell>
63</tablerow>
64<tablerow>
65<tablecell colspan="" rowspan="">
66<paragraph role="tablecontent" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="7">Stop</paragraph>
67</tablecell>
68<tablecell colspan="" rowspan="">
69<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>
70</tablecell>
71</tablerow>
72<tablerow>
73<tablecell colspan="" rowspan="">
74<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>
75</tablecell>
76<tablecell colspan="" rowspan="">
77<paragraph role="tablecontent" id="par_id3154731" xml-lang="en-US" l10n="U" oldref="12">F7</paragraph>
78</tablecell>
79</tablerow>
80<tablerow>
81<tablecell colspan="" rowspan="">
82<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>
83</tablecell>
84<tablecell colspan="" rowspan="">
85<paragraph role="tablecontent" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="14">F8</paragraph>
86</tablecell>
87</tablerow>
88<tablerow>
89<tablecell colspan="" rowspan="">
90<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>
91</tablecell>
92<tablecell colspan="" rowspan="">
93<paragraph role="tablecontent" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="16">Shift+F8</paragraph>
94</tablecell>
95</tablerow>
96<tablerow>
97<tablecell colspan="" rowspan="">
98<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>
99</tablecell>
100<tablecell colspan="" rowspan="">
101<paragraph role="tablecontent" id="par_id3147339" xml-lang="en-US" l10n="U" oldref="18">F9</paragraph>
102</tablecell>
103</tablerow>
104<tablerow>
105<tablecell colspan="" rowspan="">
106<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>
107</tablecell>
108<tablecell colspan="" rowspan="">
109<paragraph role="tablecontent" id="par_id3155175" xml-lang="en-US" l10n="U" oldref="20">Shift+F9</paragraph>
110</tablecell>
111</tablerow>
112</table>
113
114<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>
115</body>
116</helpdocument>
117