[gedit-list] Will gEdit implement a "replace in selection" function?
- From: "Brett Alton" <brett jr alton gmail com>
- To: gedit-list gnome org
- Subject: [gedit-list] Will gEdit implement a "replace in selection" function?
- Date: Tue, 28 Aug 2007 13:46:33 -0400
When creating scripts that need to escape characters, such as
implementing HTML into PHP, you often have to 'find and replace'
double quotes and escape them as \". There is no method as of 2.19.90
to do so within a cursor selection. Is this feature in the works?
Ex:
---------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<title></title>
</head>
<body>
</body>
</html>
---------------------------------------------
AS:
---------------------------------------------
<?php
//code here
print("
//selection starts here
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"
\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" >
<head>
<title></title>
</head>
<body>
</body>
</html>
//selection ends here
");
//code here
?>
---------------------------------------------
--
Brett Alton
brett jr alton gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]