Skip to content

Commit

Permalink
Use <keycap> and <keycombo> DocBook tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mumumu committed Dec 15, 2024
1 parent e53ceef commit 3edb07b
Show file tree
Hide file tree
Showing 5 changed files with 253 additions and 51 deletions.
13 changes: 11 additions & 2 deletions appendices/migration74/windows-support.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: c517cdf9196d0b6374b1112af979768c7cb391e9 Maintainer: mumumu Status: ready -->
<!-- EN-Revision: eee245cdbd89dc2fd908285f588e3b9e055924e5 Maintainer: mumumu Status: ready -->

<sect1 xml:id="migration74.windows-support" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Windows のサポート</title>
Expand All @@ -17,7 +17,16 @@
<title>CTRLキーの扱い</title>
<para>
<function>sapi_windows_set_ctrl_handler</function>
関数でハンドラを設定することで、コンソールにおける CTRL+C や CTRL+BREAK
関数でハンドラを設定することで、コンソールにおける
<keycombo action='simul'>
<keycap>CTRL</keycap>
<keycap>C</keycap>
</keycombo>
<keycombo action='simul'>
<keycap>CTRL</keycap>
<keycap>BREAK</keycap>
</keycombo>
をキャッチできるようになりました。
</para>
<para>
Expand Down
18 changes: 14 additions & 4 deletions appendices/reserved.constants.core.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b2fa00ca2e052f87785a7f8b296466edc4e55767 Maintainer: takagi Status: ready -->
<!-- EN-Revision: eee245cdbd89dc2fd908285f588e3b9e055924e5 Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa,shimooka,mumumu -->
<sect2 xml:id="reserved.constants.core" xmlns="http://docbook.org/ns/docbook">
<title>コアの定義済みの定数</title>
Expand Down Expand Up @@ -619,8 +619,13 @@
</term>
<listitem>
<simpara>
Windows の <literal>CTRL+C</literal> イベント。
PHP 7.4.0 から利用可能です。(Windows のみ)
Windows の
<keycombo action='simul'>
<keycap>CTRL</keycap>
<keycap>C</keycap>
</keycombo>
イベント。
PHP 7.4.0 から利用可能です。(Windows のみ)
</simpara>
</listitem>
</varlistentry>
Expand All @@ -631,7 +636,12 @@
</term>
<listitem>
<simpara>
Windows の <literal>CTRL+BREAK</literal> イベント。
Windows の
<keycombo action='simul'>
<keycap>CTRL</keycap>
<keycap>BREAK</keycap>
</keycombo>
イベント。
PHP 7.4.0 から利用可能です。(Windows のみ)
</simpara>
</listitem>
Expand Down
Loading

0 comments on commit 3edb07b

Please sign in to comment.