Edit C:\Program Files (x86)\Notepad++\user.manual\documentation\notepad-user-manual\editing\selecting-text.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <!-- Mirrored from npp-community.tuxfamily.org/documentation/notepad-user-manual/editing/selecting-text by HTTrack Website Copier/3.x [XR&CO'2010], Wed, 30 Mar 2011 22:12:16 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Selecting text | </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="prev" href="overtype.html" /> <link rel="up" href="../editing.html" /> <link rel="next" href="auto-completion.html" /> <link rel="shortcut icon" href="../../../sites/default/files/acquia_marina_favicon.gif" type="image/x-icon" /> <meta name="keywords" content="Notepad++ Documentation,Notepad++,text editor" /> <meta name="description" content="<br /> " /> <link type="text/css" rel="stylesheet" media="all" href="../../../modules/book/book5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../modules/node/node5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../modules/system/defaults5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../modules/system/system5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../modules/system/system-menus5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../modules/user/user5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/modules/cck/theme/content-module5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/modules/ckeditor/ckeditor5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/modules/dhtml_menu/dhtml_menu5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/modules/fancy_login/css/fancy_login5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/modules/feedback/feedback5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/modules/cck/modules/fieldgroup/fieldgroup5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/modules/views/css/views5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/themes/acquia_marina/style5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/themes/acquia_marina/icons5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/themes/acquia_marina/dblog5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/themes/acquia_marina/theme_settings/fixed5dbc.css?S" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/themes/acquia_marina/theme_settings/fonts_15dbc.css?S" /> <!--[if IE 7]> <link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/acquia_marina/ie7-fixes.css" /> <![endif]--> <!--[if lte IE 6]> <link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/acquia_marina/ie6-fixes.css" /> <![endif]--> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/themes/acquia_marina/local.css" /> <link type="text/css" rel="stylesheet" media="all" href="../../../sites/all/css/home.css" /> <script type="text/javascript" src="../../../misc/jquery5dbc.js?S"></script> <script type="text/javascript" src="../../../misc/drupal5dbc.js?S"></script> <script type="text/javascript" src="../../../sites/all/modules/dhtml_menu/dhtml_menu5dbc.js?S"></script> <script type="text/javascript" src="../../../sites/all/modules/fancy_login/scripts/fancy_login5dbc.js?S"></script> <script type="text/javascript" src="../../../sites/all/modules/feedback/feedback5dbc.js?S"></script> <script type="text/javascript" src="../../../sites/all/themes/acquia_marina/script5dbc.js?S"></script> <script type="text/javascript"> <!--//--><![CDATA[//><!-- jQuery.extend(Drupal.settings, { "basePath": "/", "dhtmlMenu": { "siblings": "siblings", "slide": 0, "relativity": 0, "children": 0, "clone": 0, "doubleclick": 0 }, "fancyLogin": { "screenFadeColor": "white", "screenFadeZIndex": "10", "loginBoxHeight": "auto", "loginBoxWidth": "175px", "loginBoxBackgroundColor": "white", "loginBoxTextColor": "black", "loginBoxBorderColor": "black", "loginBoxBorderWidth": "3px", "loginBoxBorderStyle": "solid", "loginPath": "user/login", "dimFadeSpeed": 500, "boxFadeSpeed": 1000, "hideObjects": 0, "requestDestination": "?destination=node/44" } }); //--><!]]> </script> </head> <body class="not-logged-in not-front full-node node-type-book layout-first-main"> <div id="page" class="clearfix"> <div id="skip"> <a href="#main-content">Skip to Main Content</a> </div> <div id="header-wrapper"> <div id="header" class="clearfix"> <div id="header-first"> <div id="logo"><a href="../../../index.html" title="Home"><img src="../../../sites/all/images/NppCommunityLogo.png" alt="Home" /></a></div> </div><!-- /header-first --> <div id="header-middle"> </div><!-- /header-middle --> <div id="header-last"> </div><!-- /header-last --> </div><!-- /header --> </div><!-- /header-wrapper --> <div id="primary-menu-wrapper" class="clearfix"> <div id="primary-menu"> <ul class="menu"><li class="leaf first dhtml-menu "><a href="../../notepad-online-document.html" title="Notepad++ User Manual" id="dhtml_menu-502">Documentation</a></li> <li class="leaf last dhtml-menu "><a href="../../../faq.html" title="" id="dhtml_menu-1031">FAQ</a></li> </ul> </div><!-- /primary_menu --> </div><!-- /primary-menu-wrapper --> <div id="preface"> </div><!-- /preface --> <div id="main-wrapper"> <div id="main" class="clearfix"> <div id="sidebar-first"> <!-- start block.tpl.php --> <div class="block-wrapper odd"> <!-- see preprocess_block() --> <div class="rounded-block"> <div class="rounded-block-top-left"></div> <div class="rounded-block-top-right"></div> <div class="rounded-outside"> <div class="rounded-inside"> <p class="rounded-topspace"></p> <div id="block-book-0" class="block block-book"> <div class="block-icon pngfix"></div> <h2 class="title block-title pngfix">Documentation Navigation</h2> <div class="content"> <ul class="menu"><li class="collapsed first no-dhtml "><a href="../file-management.html" id="dhtml_menu-504">File management</a></li> <li class="collapsed no-dhtml "><a href="../session-management.html" id="dhtml_menu-505">Session management</a></li> <li class="expanded no-dhtml active-trail"><a href="../editing.html" id="dhtml_menu-508">Editing</a><ul class="menu"><li class="leaf first no-dhtml "><a href="standard-operations.html" id="dhtml_menu-693">Standard operations</a></li> <li class="leaf no-dhtml "><a href="indentation.html" id="dhtml_menu-694">Indentation</a></li> <li class="leaf no-dhtml "><a href="overtype.html" id="dhtml_menu-695">Overtype</a></li> <li class="leaf no-dhtml active-trail"><a href="selecting-text.html" id="dhtml_menu-696" class="active">Selecting text</a></li> <li class="leaf no-dhtml "><a href="auto-completion.html" id="dhtml_menu-697">Auto Completion</a></li> <li class="leaf no-dhtml "><a href="column-mode-editing.html" id="dhtml_menu-698">Column Mode editing</a></li> <li class="leaf no-dhtml "><a href="commenting.html" id="dhtml_menu-699">Commenting</a></li> <li class="leaf no-dhtml "><a href="other-editing-tools.html" id="dhtml_menu-700">Other editing tools</a></li> <li class="leaf no-dhtml "><a href="printing.html" id="dhtml_menu-701">Printing</a></li> <li class="leaf no-dhtml "><a href="exiting-notepad.html" id="dhtml_menu-702">Exiting Notepad++</a></li> <li class="leaf no-dhtml "><a href="mouse-gestures.html" id="dhtml_menu-703">Mouse gestures</a></li> <li class="leaf last no-dhtml "><a href="shortcuts-edit-menu.html" id="dhtml_menu-704">Shortcuts for the Edit menu</a></li> </ul></li> <li class="collapsed no-dhtml "><a href="../document-properties.html" id="dhtml_menu-509">Document Properties</a></li> <li class="collapsed no-dhtml "><a href="../searching.html" id="dhtml_menu-511">Searching</a></li> <li class="collapsed no-dhtml "><a href="../display.html" id="dhtml_menu-510">Display</a></li> <li class="leaf no-dhtml "><a href="../macros.html" id="dhtml_menu-512">Macros</a></li> <li class="leaf no-dhtml "><a href="../commands.html" id="dhtml_menu-513">Commands</a></li> <li class="leaf no-dhtml "><a href="../shortcuts-run-menu.html" id="dhtml_menu-514">Shortcuts for the Run menu</a></li> <li class="leaf no-dhtml "><a href="../windows-dialog.html" id="dhtml_menu-515">Windows Dialog</a></li> <li class="collapsed no-dhtml "><a href="../gui-elements.html" id="dhtml_menu-744">GUI elements</a></li> <li class="collapsed no-dhtml "><a href="../switching-between-documents.html" id="dhtml_menu-745">Switching between Documents</a></li> <li class="collapsed no-dhtml "><a href="../languages.html" id="dhtml_menu-746">Languages</a></li> <li class="collapsed no-dhtml "><a href="../settings.html" id="dhtml_menu-747">Settings</a></li> <li class="leaf no-dhtml "><a href="../plugins.html" id="dhtml_menu-749">Plugins</a></li> <li class="leaf no-dhtml "><a href="../command-line.html" id="dhtml_menu-750">Command Line</a></li> <li class="leaf no-dhtml "><a href="../control-files.html" id="dhtml_menu-751">Control files</a></li> <li class="leaf no-dhtml "><a href="../shell-extension.html" id="dhtml_menu-752">Shell Extension</a></li> <li class="collapsed no-dhtml "><a href="../further-help.html" id="dhtml_menu-748">Further help</a></li> <li class="leaf no-dhtml "><a href="../upgrading.html" id="dhtml_menu-753">Upgrading</a></li> <li class="leaf last no-dhtml "><a href="../credits.html" id="dhtml_menu-754">Credits</a></li> </ul> </div> </div> <p class="rounded-bottomspace"></p> </div><!-- /rounded-inside --> </div> <div class="rounded-block-bottom-left"></div> <div class="rounded-block-bottom-right"></div> </div><!-- /rounded-block --> </div> <!-- /end block.tpl.php --> </div><!-- /sidebar-first --> <div id="content-wrapper"> <div id="content"> <a name="main-content" id="main-content"></a> <div id="content-inner"> <h1 class="title">Selecting text</h1> <div id="content-content"> <!-- start node.tpl.php --> <div id="node-44" class="node odd full-node node-type-book"> <div class="meta"> </div> <div class="content"> <p> As with any known text editor, you can select text using either the mouse or keyboard. Selected text can be moved to some other part of the same document, copied elsewhere in the same or another document, searched for text, deleted, an more.</p> <h2> How to select text</h2> <p> When using the mouse, the most basic way - but there are other - is to drag the mouse from start point to end point. You can also double click a word to select it, or triple click on a line to select it. The same effect is achieved by a simple click on the line number margin, when displayed. You can extend a selection by shift clicking its new insertion point.</p> <p> </p> <p> When using the keyboard, the expected procedure is to use navigation keys in conjunction with the <span class="Shortcut">Shift</span> modifier. These keyboard shortcuts can be changed at any time using the Shortcut Mapper.</p> <h2> Stream vs rectangular selection</h2> <p> The above procedures are known to define a <i>stream</i> selection, which encompasses a contiguous range of text. Using the SCI_SWAPMAINANCHORCARET Scintilla command from the Shortcut mapper, you can choose whether the caret starts or ends the selection.</p> <p> However, Notepad++ also knows about rectangular selections, which define a rectangle of strips on contiguous lines.</p> <p> <img alt="Multi-Selection" src="../../../Images/Screenshots/columnSel.png" /></p> <p> To select a rectangle, use the above methods while also holding the <span class="Shortcut">Alt</span> modifier key down. For example, the basic way with the mouse is to <span class="Shortcut">Alt-click</span> the start point and Alt-move the mouse to the end point, and so forth. The Alt- versions of keyboard shortcuts can be changed as well.</p> <p> It is possible to combine a stream selection and arectangular selection, using the keyboard. This is probably less useful, but is not a bug.</p> <p> The <span class="menu_item">Edit -> Line operations -> Move Up/Down current line</span> commands also move the selected area, if it is not rectangular. This ability is lost when several selections are made - see below.</p> <h2> Multiple stream selections</h2> <p> If a stream area is selected, it is possible to add another, disjoint area by Ctrl-clicking its start point and moving the mouse to the end point. More than one extra selection can be added this way. (Multi-Editing should be enabled in <a href="../settings/preferences.html#Editing">Preferences</a>) </p> <p> <img alt="Multi-Selection" src="../../../Images/Screenshots/multiSel.png" /></p> <p> However, this ability does not extend to rectangular selections. A rectangular selection may still cling to one of the stream selections though. The SCI_ROTATESELECTION Scintilla command enables to cycle through selections, in the order they were defined.</p> <p> When copying or cutting a multiple selection, the text is recorded in the order the selections appear, regardless of the order in which they were made.</p> <div id="book-navigation-3" class="book-navigation"> <div class="page-links clear-block"> <a href="overtype.html" class="page-previous" title="Go to previous page">â?¹ Overtype</a> <a href="../editing.html" class="page-up" title="Go to parent page">up</a> <a href="auto-completion.html" class="page-next" title="Go to next page">Auto Completion â?º</a> </div> </div> </div> </div> <!-- /#node-44 --> </div> </div><!-- /content-inner --> </div><!-- /content --> </div><!-- /content-wrapper --> <div id="footer" class="clearfix"> <!-- start block.tpl.php --> <div class="block-wrapper odd"> <div id="block-fancy_login-0" class="block block-fancy_login"> <div class="content"> <a href="../../../user/login.html">Login</a> </div> </div> </div> <!-- /end block.tpl.php --> <!-- start block.tpl.php --> <div class="block-wrapper odd"> <div id="block-system-0" class="block block-system"> <div class="content"> <a href="http://drupal.org/"><img src="../../../misc/powered-blue-80x15.png" alt="Powered by Drupal, an open source content management system" title="Powered by Drupal, an open source content management system" width="80" height="15" /></a> </div> </div> </div> <!-- /end block.tpl.php --> </div><!-- /footer --> </div><!-- /main --> </div><!-- /main-wrapper --> </div><!-- /page --> <div id="fancy_login_dim_screen"></div><div id="fancy_login_login_box"><div id="fancy_login_form_contents"><a href="#" id="fancy_login_close_button">X</a><form id="user-login" method="post" accept-charset="UTF-8" action="http://npp-community.tuxfamily.org/user/login"><div><div class="form-item" id="edit-name-wrapper"> <label for="edit-name">Username: <span class="form-required" title="This field is required.">*</span></label> <input type="text" maxlength="60" name="name" id="edit-name" size="15" value="" tabindex="1" class="form-text required" /> </div> <div class="form-item" id="edit-pass-wrapper"> <label for="edit-pass">Password: <span class="form-required" title="This field is required.">*</span></label> <input type="password" name="pass" id="edit-pass" maxlength="128" size="15" tabindex="2" class="form-text required" /> </div> <input type="hidden" name="form_id" id="edit-user-login" value="user_login" /> <input type="hidden" name="form_build_id" id="form-a78c0509130096d9506cf30b409134f3" value="form-a78c0509130096d9506cf30b409134f3" /> <input type="submit" name="op" id="edit-submit" value="Log in" tabindex="3" class="form-submit" /> </div></form><div class="item-list"><ul><li class="first"><a href="../../../user/register.html" title="Create a new user account.">Create new account</a></li> <li class="last"><a href="../../../user/password.html" title="Request new password via e-mail.">Request new password</a></li> </ul></div></div><div id="fancy_login_ajax_loader"><img src="../../../sites/all/modules/fancy_login/images/ajax-loader.gif" alt="Loading" /></div></div> <!-- start block.tpl.php --> <div class="block-wrapper even"> <div id="block-feedback-form" class="block block-feedback"> <h2 class="title block-title pngfix"><span class="feedback-link">Feedback</span></h2> <div class="content"> <form action="http://npp-community.tuxfamily.org/documentation/notepad-user-manual/editing/selecting-text" accept-charset="UTF-8" method="post" id="feedback-form" class="feedback-form"> <div><input type="hidden" name="ajax" id="edit-ajax" value="0" /> <div class="feedback-help">If you experience a bug or would like to see an addition on the current page, feel free to leave us a message.</div><div class="form-item" id="edit-message-wrapper"> <label for="edit-message">Message: <span class="form-required" title="This field is required.">*</span></label> <textarea cols="60" rows="5" name="message" id="edit-message" class="form-textarea resizable required feedback-message"></textarea> </div> <div id="feedback-throbber"><input type="submit" name="op" id="feedback-submit" value="Send" class="form-submit" /> </div><input type="hidden" name="form_build_id" id="form-1e1d2fe32e6d901d25401b1afa06ad8a" value="form-1e1d2fe32e6d901d25401b1afa06ad8a" /> <input type="hidden" name="form_id" id="edit-feedback-form" value="feedback_form" /> </div></form> </div> </div> </div> <!-- /end block.tpl.php --> </body> <!-- Mirrored from npp-community.tuxfamily.org/documentation/notepad-user-manual/editing/selecting-text by HTTrack Website Copier/3.x [XR&CO'2010], Wed, 30 Mar 2011 22:12:16 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8"><!-- /Added by HTTrack --> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de