1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir<!--***********************************************************************
5*cdf0e10cSrcweir *
6*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7*cdf0e10cSrcweir *
8*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
9*cdf0e10cSrcweir *
10*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
11*cdf0e10cSrcweir *
12*cdf0e10cSrcweir * This file is part of OpenOffice.org.
13*cdf0e10cSrcweir *
14*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
15*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
16*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
17*cdf0e10cSrcweir *
18*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
19*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
20*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
22*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
23*cdf0e10cSrcweir *
24*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
25*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
26*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
27*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
28*cdf0e10cSrcweir *
29*cdf0e10cSrcweir ************************************************************************-->
30*cdf0e10cSrcweir
31*cdf0e10cSrcweir<helpdocument version="1.0">
32*cdf0e10cSrcweir<meta>
33*cdf0e10cSrcweir<topic id="textsbasicsharedkeysxml" indexer="include" status="PUBLISH">
34*cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Keyboard Shortcuts in the Basic IDE</title>
35*cdf0e10cSrcweir<filename>/text/sbasic/shared/keys.xhp</filename>
36*cdf0e10cSrcweir</topic>
37*cdf0e10cSrcweir<history>
38*cdf0e10cSrcweir<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
39*cdf0e10cSrcweir<lastedited date="2004-08-24T12:53:28">converted from old format - fpe</lastedited>
40*cdf0e10cSrcweir</history>
41*cdf0e10cSrcweir</meta>
42*cdf0e10cSrcweir<body>
43*cdf0e10cSrcweir<section id="keys">
44*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3154760"><bookmark_value>keyboard;in IDE</bookmark_value>
45*cdf0e10cSrcweir<bookmark_value>shortcut keys;Basic IDE</bookmark_value>
46*cdf0e10cSrcweir<bookmark_value>IDE;keyboard shortcuts</bookmark_value>
47*cdf0e10cSrcweir</bookmark>
48*cdf0e10cSrcweir<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>
49*cdf0e10cSrcweir</section>
50*cdf0e10cSrcweir<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>
51*cdf0e10cSrcweir<table id="tbl_id3153381">
52*cdf0e10cSrcweir<tablerow>
53*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
54*cdf0e10cSrcweir<paragraph role="tablehead" id="par_id3154908" xml-lang="en-US" l10n="U" oldref="3">Action</paragraph>
55*cdf0e10cSrcweir</tablecell>
56*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
57*cdf0e10cSrcweir<paragraph role="tablehead" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="4">Keyboard shortcut</paragraph>
58*cdf0e10cSrcweir</tablecell>
59*cdf0e10cSrcweir</tablerow>
60*cdf0e10cSrcweir<tablerow>
61*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
62*cdf0e10cSrcweir<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>
63*cdf0e10cSrcweir</tablecell>
64*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
65*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3163712" xml-lang="en-US" l10n="U" oldref="6">F5</paragraph>
66*cdf0e10cSrcweir</tablecell>
67*cdf0e10cSrcweir</tablerow>
68*cdf0e10cSrcweir<tablerow>
69*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
70*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="7">Stop</paragraph>
71*cdf0e10cSrcweir</tablecell>
72*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
73*cdf0e10cSrcweir<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>
74*cdf0e10cSrcweir</tablecell>
75*cdf0e10cSrcweir</tablerow>
76*cdf0e10cSrcweir<tablerow>
77*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
78*cdf0e10cSrcweir<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>
79*cdf0e10cSrcweir</tablecell>
80*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
81*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3154731" xml-lang="en-US" l10n="U" oldref="12">F7</paragraph>
82*cdf0e10cSrcweir</tablecell>
83*cdf0e10cSrcweir</tablerow>
84*cdf0e10cSrcweir<tablerow>
85*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
86*cdf0e10cSrcweir<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>
87*cdf0e10cSrcweir</tablecell>
88*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
89*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="14">F8</paragraph>
90*cdf0e10cSrcweir</tablecell>
91*cdf0e10cSrcweir</tablerow>
92*cdf0e10cSrcweir<tablerow>
93*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
94*cdf0e10cSrcweir<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>
95*cdf0e10cSrcweir</tablecell>
96*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
97*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="16">Shift+F8</paragraph>
98*cdf0e10cSrcweir</tablecell>
99*cdf0e10cSrcweir</tablerow>
100*cdf0e10cSrcweir<tablerow>
101*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
102*cdf0e10cSrcweir<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>
103*cdf0e10cSrcweir</tablecell>
104*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
105*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3147339" xml-lang="en-US" l10n="U" oldref="18">F9</paragraph>
106*cdf0e10cSrcweir</tablecell>
107*cdf0e10cSrcweir</tablerow>
108*cdf0e10cSrcweir<tablerow>
109*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
110*cdf0e10cSrcweir<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>
111*cdf0e10cSrcweir</tablecell>
112*cdf0e10cSrcweir<tablecell colspan="" rowspan="">
113*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3155175" xml-lang="en-US" l10n="U" oldref="20">Shift+F9</paragraph>
114*cdf0e10cSrcweir</tablecell>
115*cdf0e10cSrcweir</tablerow>
116*cdf0e10cSrcweir</table>
117*cdf0e10cSrcweir
118*cdf0e10cSrcweir<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>
119*cdf0e10cSrcweir</body>
120*cdf0e10cSrcweir</helpdocument>
121