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