forked from amazingfate/help
Replacement done with
find . -name \*.xhp -print0 |xargs -0 -P 0 perl -CS -pi -e \
's#(<link[^>]*?) +name *="[^"]*" *( [^>]+|) *>#$1$2>#g'
(note some inconsistencies with space between name and = and also having
empty value, and some more complicated expression to also clear up
double space before/after the attribute)
translation files will be prepped with:
find */helpcontent2 -name \*.po -print0 |xargs -0 -P 0 perl -CS -pi -e \
$'s#(<link[^>]*?) +name=(?:\\\\"[^"]*\\\\"|\'[^\']*\') *( [^>]+|) *(/?>)#$1$2$3#g unless /^#/'
(note that not all languages use the " as quote character for the
attributes, but that also single quotes appera in the po file. Hence
the use of the shell $'string' syntax to be able to quote ' as \'
It also requires to quote the backslash, so that it needs to be escaped
once for the shell, then another time for perl. Also don't work on
obsolete strings (those are prefixed with #~ in the po files)
Also note that <link..></link> gets turned into <link ../> during
translation extraction (along with removal of the space between the
attribute name and the value), so the pattern needs to be slightly
different here)
Change-Id: I95e53a08e6b0095cd894109ea0de154cc4859d8f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143713
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
111 lines
5.2 KiB
XML
111 lines
5.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<!--
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
-->
|
|
|
|
<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>
|
|
</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"><link href="text/sbasic/shared/keys.xhp">Keyboard Shortcuts in the Basic IDE</link></paragraph>
|
|
</section>
|
|
<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US">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">Action</paragraph>
|
|
</tablecell>
|
|
<tablecell colspan="" rowspan="">
|
|
<paragraph role="tablehead" id="par_id3153192" xml-lang="en-US">Keyboard shortcut</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
<tablerow>
|
|
<tablecell colspan="" rowspan="">
|
|
<paragraph role="tablecontent" id="par_id3159254" xml-lang="en-US">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">F5</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
<tablerow>
|
|
<tablecell colspan="" rowspan="">
|
|
<paragraph role="tablecontent" id="par_id3150010" xml-lang="en-US">Stop</paragraph>
|
|
</tablecell>
|
|
<tablecell colspan="" rowspan="">
|
|
<paragraph role="tablecontent" id="par_id3154319" xml-lang="en-US">Shift+F5</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
<tablerow>
|
|
<tablecell colspan="" rowspan="">
|
|
<paragraph role="tablecontent" id="par_id3151073" xml-lang="en-US">Add <link href="text/sbasic/shared/01050100.xhp">watch</link> for the variable at the cursor.</paragraph>
|
|
</tablecell>
|
|
<tablecell colspan="" rowspan="">
|
|
<paragraph role="tablecontent" id="par_id3154731" xml-lang="en-US">F7</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
<tablerow>
|
|
<tablecell colspan="" rowspan="">
|
|
<paragraph role="tablecontent" id="par_id3148455" xml-lang="en-US">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">F8</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
<tablerow>
|
|
<tablecell colspan="" rowspan="">
|
|
<paragraph role="tablecontent" id="par_id3156275" xml-lang="en-US">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">Shift+F8</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
<tablerow>
|
|
<tablecell colspan="" rowspan="">
|
|
<paragraph role="tablecontent" id="par_id3150323" xml-lang="en-US">Set or remove a <link href="text/sbasic/shared/01030300.xhp">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">F9</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
<tablerow>
|
|
<tablecell colspan="" rowspan="">
|
|
<paragraph role="tablecontent" id="par_id3153963" xml-lang="en-US">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">Shift+F9</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
|
|
<paragraph role="paragraph" id="par_id3154702" xml-lang="en-US">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>
|