Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Stefan

Pages: 1 2 [3] 4 5 ... 9
31
Implemented / Tools parameter: Prompt user with command line to modify
« on: October 21, 2009, 11:06:28 am »
Tools parameter: Prompt user with complete generated command line to modify it.

Hi Alex,

can you add an option to Tools
that when checked show an editable dialog box with Command and Arguments?

F.ex., Tool:

Title:          Test
Command:  iExplorer
Arguments: %FileName%
[X] Prompt user


Dialog: "C:\Program Files\Internet Explorer\IEXPLORE.EXE" "C:\Temp\Test\Example.html"
[OK]  [Cancel]


So i can double check the executable and modify the command line with temporarily arguments or parameter.



P.S., for others:
to check the command line you can see it in the status bar while hovering the tool button too.

32
Solved / [Solved] "Surround Selection on (,{,[" issues
« on: October 10, 2009, 09:13:54 pm »
Alex, FYI, just for the record.

1.) Surrounding with ' + ' in cmd-files:

If i select an word from right-to-left
and press Shift+# on german keybord to insert an ' -sign
this doesn't works, i get an '  on the left side only , not on both.
If i select from left-to-right or with double-click it works, i get ' on both sides.

Then i have tested this with *.txt - here R-to-L selection with '  works.




2.)  Surrounding with " + " in txt-files:

Then i have added "+" to "txt_spec.xml" to test "-surrounding:
 <SYNTAX id="text" name="Plain Text" inherit="def_text" inherit_url="deftext_spec.xml">
    <SPECIFICATION>
      <FilePattern mask="*.txt;*.diz;*.log;*.trc"/>
      <OpenClose>()[]{}''
""</OpenClose>
      
(The same as found in batch_spec.xml)

but doing an selection and press Shift+2 on german keyboard to get an "-surround didin't work.
The selection is deleted and an single  "-sign  is inserted instead.
The same test with *.cmd files works, the selection is surrounded by "-signs.


3.) this surrounding didn't works for %-signs?!
I guess because there is no extra opening and closing sign.
So i use an "Code Template": %%%CurrentWord%%% for that issue.


Tested with 726.

33
Solved / "Easy Line Copy" should only work IF Len(line) > 0
« on: October 07, 2009, 05:18:45 pm »
"Easy Line Copy" should only work IF Len(line) > 0

I have "Easy Line Copy" enabled.

Later i want to paste an text and want to press Ctrl+V, at least i want to!
Accidentally i pressed Ctrl+C instead - and HE copies the "whole line" - that was noting.
So my next paste try afterwards didn't worked - because i have "nothing" in clipboard now.

Suggestion:
"Easy Line Copy"  (that copy whole line if nothing is selected) should
only work if there is something in the line. Maybe even spaces and tabs? But not nothing.

34
Implemented / "Save of Read-only file" issues
« on: October 07, 2009, 04:20:40 pm »
"Save of Read-only file" issues, HE still shows the r/o file

Steps:
- open an read-only file
- disable r/o flag in HE
- modify the doc
- save the file > dialog appears > use 'Save as..'  >> fine!

Problem:
1) But then if have still the old file name, but with content of the new 'save as'  saved file,
2) and when i modify more and save again i get again the dialog "Save of Read-only file"
Edit:
3) 'Save as' didn't provide the same folder as the current file - to use as the save-as-folder.
    Instead it use the 'last used folder', what is sub-optimal for that issue.
4) 'Save as'  didn't work at all, nothing is saved?


I find (2) annoying at least
but (1) is inconsistent IMHO, (having content of new file - but still see file name and have r/o state off last file)


Suggestion:
i think it would be better to show the new file after 'save as'
 as it would be without those r/o issue too?

.

35
Implemented / [Solved] Find&Replace: do NOT jump to next on [Replace]
« on: October 06, 2009, 03:24:57 pm »
Find&Replace: do NOT jump to next on [Replace]

Just an suggestion for later:

If i do an find & replace
and press [Replace] on an found pattern match
then the algorithm immediately search for the next match - and shows them... Very fine!

I like this automation!
But often i want to see if the replacement was really that what i had in mind,
i mean i would like to stay on this replacement and double-check if it is that what i want.
Then i would press [Find Next]

Right now i have to scroll up to take an look... often not easy to find in large documents.

So i want to ask if there could be an optional option to toggle this behaviour?

I know you have no space for an another checkbox :D
So just some ideas:
- right click context menu on [ Replace ]-button with options
- option in Option-menu ... but to far away for an fast toggle
- option in config-XML, even farer away
- add an settings-button like them for regex-hints for options
- add an settings-button like them for regex-hints to open Options-menu to set search-options
- split the  [ Replace ]-button  into  [ Replace|+Go]
- allow to use an modifier key like CTRL while pressing the [ Replace ]-button to replace+stay, because this double-check is not that often needed, only on start at an s&r session.

Ah, great  >:(
now i found an solution: even while Replace-dialog is open,
you can still use "Navigation > Previous Changed Area" to go to that last replacement.
Then, after check if it went O.K., do again an [Find Next] to go on.

You can even assign an hotkey to "Previous Changed Area"
and this hotkey works even the find&replace dialog is still open.
Very fine Editor, this HippoEDIT ;D

36
Bug reports / Keyboard scheme preview - is not localized
« on: October 06, 2009, 01:53:39 pm »
Tested with 723 + 726
I have english MUL windows, set to german.

Issue:
"Tools > Keyboard Settings... >  [View...]"  ==> the scheme preview is not localized, see picture.

I mean Strg/Ctrl and Shift/Umschalt should be no problem,
but the scan code for the trigger key, after they modifier keys, is not expanded to correct sign.



F.ex.
(pseudo) Scancode '123' is on english keyboard layout '[' , but on german layout 'ß'
For "Tools > Keyboard Settings... " the scancode is correct interpreted to german glyph 'ß'.
For "Tools > Keyboard Settings... >  [View...]" it is interpreted as english '['.

.

37
Solved / Select whole paragraph higher then visible screen
« on: October 06, 2009, 01:48:15 pm »

Maybe this is an bug?

Tested with 723 + 726

How to reproduce:
Select whole paragraph, which has more lines then could be shown on the screen, with special trick:

Select an paragraph
- put cursor inside an word or an line only
- Alt+Arrow down => select whole word
- next Alt+Arrow down => select whole line
- next Alt+Arrow down => select whole paragraph
- next Alt+Arrow down => select whole document
OR
Pos1, Alt+Arrow down => select whole paragraph



Problem:
this works only if this paragraph fits into visible screen.
If one line is out of visible, then whole doc is selected instead.
If there is an blank line visible on top, and last line at bottom, then it works, paragraph is selected.
If the last line is scrolled out of view, then whole document is selected instead.


Second issue:
With this selection methods there is no line-count report in the status bar.

38
FAQ / Variable used with HippoEDIT
« on: October 03, 2009, 09:59:14 pm »
Variable used with HippoEDIT


ongoing thread ... will be formated later, and also add links to existing threads about this topic.


       
-
%DateTime%should be -- 03.10.2009 22:03:07 -- i think, but gives only 22:03:07
-
%Date%current date => 03.10.2009
-
%DateTime%current time => 22:03:07
-
%Year%current year => 2009
-
%Month%current month => 10
-
%Day%current day => 04
-
%FileDate%Last modification date of current document
-
%FileTime%Last modification time of current document
-
%CurrentWord%current word under cursor
    Example: anyword    
-
%CurrentLine%current number of the line where the cursor is in
    Example: 12    
-
%CurrentColumn%current number of the column where the cursor is in
    Example: 72
-
%Clipboard%current content of the clipboard
    Example:  example clipboard content  
-
%[ ]%returns an Registry Value
Example of use:
%[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE]%
Returns:  C:\Programme\Internet Explorer\IEXPLORE.EXE
-
%SelectedText%current selected text
    Example:  selected word, words, line or lines  
-
%Document%name of current document
    Example: filename.ext  
-
%FileNameWOExt%base name of current document without the extension
    Example: filename  
-
%FileName%name of current document incl. the path %FileDir%
    Example: X:\folder\path\filename.ext  
-
%FileDir%Path of current file
    Example: X:\folder\path  
-
%OpenFiles%insert an space separated  string with currently open files at the current place into the document or given as parameter to an external tool
    Example: X:\folder\filename.ext "Y:\folder name\file name.ext" Z:\test\a\b\file.ext  
-
%|%to place the cursor at an wished position
    Example: after inserting the template FOR x = 1 TO %|%  the cursor is placed on the place of %|%
-
%Variable name%named 'Interactive' in context menu => prompt the user with an dialog to insert an string to be inserted at the current place into the document or given as parameter to an external tool
Example of use: after inserting an template like %Test% user is prompted by an dialog labeled with 'Test' where he can enter an string
-
%InteractiveFile%prompt the user with an dialog to select a  file. The path and file name will be inserted at the current place into the document or given as parameter to an external tool
-
%InteractiveDir%prompt the user with an dialog to select an directory. This path will be inserted at the current place into the document or given as parameter to an external tool
-
%OpenFilesInteractive%prompt the user with an list of currently opened files. The user can select one or more to feed them as parameter to an external tool
-
%AppDir%current path to the  folder with the HippoEdit.exe
    Example: X:\path\HippoEDIT  
-
%AppDrive%current drive which holds the  folder with the HippoEdit.exe
    Example: X:  
-
%AppDataDir%current path to the HippoEdit data folder
    Example: X:\path\HippoEDIT\Data  
-
%% the symbol % itself
    Example: if you want to insert an %-sign itself. F.ex. for *.CMD Batch files, if you want to create an template like ECHO %1 %2 you have to write this as ECHO %%1  %%2
-
   
-
   
-
   
-



%ProjectFiles% Project Files
%ProjectDir% Project work dir
%MainFile%Project Main File Name
%MainFilePath% Project Main File Path
%MainFileDir%Main Project File Directory
%ProjectFilesInteractive%









Environment Vars from your computer
%ComSpec% => C:\WINDOWS\system32\cmd.exe
%FP_NO_HOST_CHECK%
%NUMBER_OF_PROCESSORS%
%OS%
%Path%
%PATHEXT%
%PROCESSOR_xxx%
%TEMP% => C:\DOKUME~1\<CurrentUserName>\LOKALE~1\Temp
%TMP% => usely the same as TEMP
%windir% => C:\WINDOWS

You can test this env vars in an DOS-Box with the echo-command like:
C:\>echo %ComSpec%

or by using the command set:
C:\>set

then you will find more env vars to use with HippoEDIT:

ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users
APPDATA=C:\Dokumente und Einstellungen\<CurrentUserName>\Anwendungsdaten
CommonProgramFiles=C:\Programme\Gemeinsame Dateien
COMPUTERNAME=myPC
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Dokumente und Einstellungen\<CurrentUserName>
LOGONSERVER=\\myPC
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Python31
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 9 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0905
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOKUME~1\<CurrentUserName>\LOKALE~1\Temp
TMP=C:\DOKUME~1\<CurrentUserName>\LOKALE~1\Temp
USERDOMAIN=myPC
USERNAME=<CurrentUserName>
USERPROFILE=C:\Dokumente und Einstellungen\<CurrentUserName>
windir=C:\WINDOWS


Happy HippoEDITing   ;D

Find me:
var
vars
variable
variables
variablen

39
Temp store new Untitled.doc with original extension please

If i create an new, f.ex. HTML file
i get an new tab named 'Untitled1.html'
but i can't preview this in external browser
because it is stored temporarily as *.tmp file.

Question:
would you like to change it
that you store new opened Untitled1.* files with suitable extension, here .html ?
Like %Temp%\Unt1E1F.tmp.ext

Then i didn't have the need to first store new, even test files only,
files in temp folder first... and leave them there for ever.

40
Implemented / File > Save COPY as...
« on: October 01, 2009, 10:28:50 am »
Missed feature: "File > Save COPY as..."

If i want to modify an document ("file name.txt" f.ex.) but keep the original source.

To achieve that:

* i do an file copy in explorer first ("file name.txt" ==> "file name_bak.txt"),

OR
* i do an "Save as.." to save as "file name_bak.txt"  ...-...  and then load the original "file name.txt" again.


Now I want to mention that i like the feature of NotePad2 "File > Save Copy..."
to just create an copy of the current open file to an new name ("file name_bak.txt")
and let me working on with my file ("file name.txt").

Maybe this is an improvement idea for HippoEDIT too?

41
Using intern clipboard store only

Hi Alex,

maybe you like the idea to "Optional use internal clipboard store only"

i mean all copy and cut inside of HippoEDIT
would be stored inside HE only
and are available form HE Clipboard Ring only.

So we don't mess up the clipboard of an foreign computer at customers desk. 
May be nifty to not leave tracks of important  data there.
And i don't would remove data from costumers clipboard if i had the need to reformat my text.

Just an idea.

42
Missing feature: "Edit > Line > Transpose all lines in block"
to put first line down as last line, second first down as second last, and so on...


One example:
Swap all lines from:
1 Create Folder xxxx yyyyy zzzz bla bla bla
2 Copy File xxxx yyyyy zzzz
3 Start App xxxx yyyyy zzzz bla

to:
3 Start App xxxx yyyyy zzzz bla
2 Copy File xxxx yyyyy zzzz
1 Create Folder xxxx yyyyy zzzz  bla bla bla

As start for to modify it to:
1 close App xxxx yyyyy zzzz bla
2 delete File xxxx yyyyy zzzz
3 remove Folder xxxx yyyyy zzzz  bla bla bla


Using the available Sort feature would only help if i would have always digits on start of line.

43
FAQ / HowTo clear "Changed Lines" markers during an session
« on: September 30, 2009, 10:59:31 pm »
HowTo clear "Changed Lines" markers during an session


Hi Alex

we have "View > Editor > Changed Lines"
to get an visible marker on the left side
which indicates line(s) that where modified during the current session. Fine.


Question:
Is there an option to clear this "Changed Indicator"  and "Changed and Saved Indicator"?

So i would see then only recently new  modified lines again,
and not all modified since first start of modifications?


Because if i work some time with an document
most of the lines get "changed" and so the sense of this great feature get backwards.

One way to get rid of the color is to save and reload... but how without saving? (because i am in the middle of modification)


44
FAQ / HowTo jump to next paragraph: Jump to next empty line
« on: September 30, 2009, 03:57:05 pm »
Update: Please see next post for an solution
For more such tricks read => http://forum.hippoedit.com/index.php/topic,584.0.html



Hi Alex,

i often have to jump over an paragraph to the next paragraph start (empty line).
Is there an work around other then regex search for '^$\r\n'  and using F3 to do this?

Or may i suggest an new command:

Strg+Shift+Alt+Arrow up/down
--> jump to next empty line AFTER an non-empty line
(ignore following empty lines, jump to an empty line after an paragraph for example)


Strg+Shift+Alt+Arrow left/right
--> jump to next blank/tab AFTER an char or ,.+-\ and like this
(ignore words like "Strg+Arrow" or  "left/right"
where i have to use Strg+Arrow-command three times to jump over,
no, instead just jump over them to next blank/space/tab)


I can wait till scripting but at least the jump-over-paragraph command should be build-in i think.

.

45
FAQ / HowTo do selections in an document
« on: September 30, 2009, 03:37:12 pm »
I just collect some tips&tricks to easy do selections in an document.
One do not have to know all... but knowing some of them will increase your working speed dynamically.

Sorry for the lame layout how i present this...  but anyway: happy HippoEDITing all  ;D

O.K. let's start:

-------------------------------------------------------
01

Shift+Click   
- Click on one point at a line
- hold Shift
- Click on an another line  => all between is selected

-------------------------------------------------------
02

Shift+Click   on Pos1
- Click on one point at a line
- hold Shift
- Click on an another line but at Pos1 or at the LineNumbers => all LINES between are selected

-------------------------------------------------------
03

Left-Click on a LineNumber => whole Line is selected
Left-Click on a LineNumber and move mouse => all LineS are selected
Ctrl+Click on a LineNumber => whole file is selected

I don't know if i should mention Ctrl+A to select the whole document?, you all know this already i guess.

-------------------------------------------------------
04

Ctrl+Alt plus an Arrow-key (up/down/left/right) => select columns/block

Or hold the Alt-key and select columns/block  with the mouse while pressing the left mouse button.

Ctrl+Alt plus Arrow (up/down only) => zero-width selection for column-mode

-------------------------------------------------------
05

Double click selects whole word
Tripple click selects whole line
Double click on empty line selects whole document

Shift+PgUp/PgDown => select page wide

-------------------------------------------------------
06

Select an block:
- press F7 ("Navigation > Set Anchor")
- go up/down in document
- press Shift+F7 ("Edit > Selection > Select from Anchor")


Select an Function block:  (Function func() ... End Function)
Select an Statement block: (IF condition Then Else End If)
Select an HTML tags block: (<script ... </script>)
- go to one end of this block, e.g. go right before  "Function" or "IF" or "<script "
- press F7 ("Navigation > Set Anchor")
- jump to corresponding end by double clicking this keyword  "Function" or "IF" or "<script "
- at the other end of the block, (at "End Function" or "End IF" or "</script>" ) go to end of the line
- press Shift+F7 ("Edit > Selection > Select from Anchor")
The whole block is selected. Ready to copy, delete or comment it out.

(tip: To select an whole function block check out "Alt+Arrow down" and/or "Alt+G Smart Navigate" too. See below)


OR
- "Edit > Selection > Begin/End xxx Selection", best assign an shortcut to this command
- go up/down in document
- click left mouse button

-------------------------------------------------------
07

Select an paragraph
- put cursor inside an word or an line only
- Alt+Arrow down => select whole word
- next Alt+Arrow down => select whole line
- next Alt+Arrow down => select whole paragraph
- next Alt+Arrow down => select whole document
OR
Pos1, Alt+Arrow down => select whole paragraph

Back with Alt+Arrow up


OR
Ctrl+Shift+` => select to begin of next paragraph
Ctrl+Shift+ß  => select to begin of THIS paragraph

Tip:
Ctrl+` => Jumps to start of next paragraph
Ctrl+ß => Jumps to start of prev paragraph

So you can easy select whole paragraph with:
Strg+ß;   Strg+Shift+`;     2xShift+Arrow Left

OR put cursor on end of paragraph and press Strg+Shift+ß

(Note:
 ` and ?  are found on german keyboard layout.
Should be + and - on US-International layout?
Check it on http://en.wikipedia.org/wiki/Keyboard_layout#Germany_and_Austria_.28but_not_Switzerland.29
or check "Tools > Keyboard Settings..." and filter for paragraph to see what key is set for you.

EDIT: i found this on "Tools > Keyboard Settings... > [View...]"

№ Command                 Shortcut
1 Edit.ParagraphNext Ctrl + ]
2 Edit.ExtParagraphNext Shift + Ctrl + ]
3 Edit.ExtColumnParagraphNext Shift + Ctrl + Alt + ]
4 Edit.ParagraphPrev Ctrl + [
5 Edit.ExtParagraphPrev Shift + Ctrl + [
6 Edit.ExtColumnParagraphPrev Shift + Ctrl + Alt + [

)
-------------------------------------------------------
08

Extra fine:
"Edit > Selection > Lock F6" to never destroy the selection, till you do an another selection or press F6 again.

Even better:
"Edit > Selection > Restore" to re-select an by accident destroyed selection

-------------------------------------------------------
09

Ctrl+Arrow left/right => jump word wise
Shift+Arrow left/right => select char wise
Shift+Home/End => select till begin/end of line
Ctrl+Shift+Arrow left/right => select Word wise
Shift+Arrow up/down => select line wise
Ctrl+Shift+Arrow up/down => select whole lines
Press DEL-key or BackSpace, or Space to delete the selected text, or start typing to overwrite

-------------------------------------------------------
10

Ctrl+Arrow up/down => scroll current line up/down in view
Ctrl+Pos1/End => move cursor to Top/End Of File

-------------------------------------------------------
11

Ctrl+Click on an sign/char/word => all others are highlighted too

-------------------------------------------------------
12

Left-Click at Ruler => zero-width selection for column-mode edit is set over whole document
(could be used to visible check align of column, but take care not to modify your document)

Left-Click at Ruler and move mouse => select column

-------------------------------------------------------
13

Ctrl+D => Duplicate line or whole selection and paste above. (same like Ctrl+C;go up;Ctrl+V)
I use this often to duplicate my "adornment" lines between paragraph.
'/\/\/\/\***********:=:=:=:= my adornment line =:=:=:=:*********************/\/\/\/\'

-------------------------------------------------------
14

Tip BTW:
did you know HippoEDIT intern clipboard collection tool, called "Clipboard Ring"?

Try it by pressing Ctrl+Shift+V
... i do this right now to paste my paragraph-delimiter-line again from the Ring
-------------------------------------------------------
-------------------------------------------------------
-------------------------------------------------------




-------------------------------------------------------
15

Ctrl+Shift+Enter => Add an New Line above, even if you are in the middle of an line
Shift+Enter => Add an New Line below, even if you are in the middle of an line, so you get no line break as by using Enter alone.

-------------------------------------------------------
16

Ctrl+Alt+T => Transpose, swap, exchange current line with line above
Ctrl+Alt+Arrow up/down => move current line/selection up or down in document. (same as Ctrl+X;move;Ctrl+V)
This swaps the line with the next line and go further to the next but one.
Nifty to see if an text fit better to an other position or to move paragraph to an other place without involve the clipboard .

-------------------------------------------------------
17

"Edit > Line > Copy" Ctrl+Shift+T => copy whole line without selecting it first.
Same as Ctrl+C without an selection, if 'Easy Line Copy' flag is set in "Options->Formatting->Smart Helpers".

"Edit > Line > Cut"  Ctrl+Shift+X => cuts the whole line without selecting it first.
Same as Ctrl+X without an selection, if 'Easy Line Copy' flag is set in "Options->Formatting->Smart Helpers".

"Edit > Line > Delete" Ctrl+Shift+L => deletes the whole line without selecting it first.
Same as Ctrl+X without an selection, but does NOT store it at the clipboard for re-use.

"Edit > Line > Delete to End" Ctrl+Shift+Del => delete from current position to end of line.
Same as Shift+End; Del.
Tip: Use Shift+Pos1 to delete from current position to start of line


-------------------------------------------------------
18

Example text for testing the above commands:

1 HippoEDIT is an editor
2 HippoEDIT is portable
3 HippoEDIT use highlighting
4 HippoEDIT supports RegEx
5 HippoEDIT use per syntax settings
6 HippoEDIT have word completion function
7 HippoEDIT provide column editing
8 HippoEDIT edit multi files at once


More to come... till then check out "Edit" and "Navigation" menu or check "Tools > Keyboard Settings...".




19

Select text inside brackets and Quotes:
Which type of braces would be taken into account
on Expand/Shrink Selection (Alt+arrow up/down) depends on <lang>_spec.xml schema (OpenClose tags), example:
    <SPECIFICATION>
      <OpenClose>()[]{}''&lt;&gt;</OpenClose>


If have modified my txt_spec.xml and use this open/close specification for my tests:
<OpenClose>""()[]{}''&lt;&gt;``´´&gt;&lt;</OpenClose>

Normally, when you expand an selection, first you should get text inside braces selected, then text together with braces.
Then whole line is selected, then outer braces, then next and then whole file.


Example 1, cursor was on word in bold, then Alt+Arrow down was pressed 5 times, then code in blue was selected:

int main(int argc, char *argv[])
{
   printf("Hello, world\n");
   for (int i = 0; i < ; i++)
   {
     test line test line
   }
   return 0;
}






Example 2, various braces to test with:
Place your cursor inside of the braces and press Alt+Arrow down one or more times.
If something doesn't work, the OpenClose tags have to be adjusted for your current syntax.

      {test line test line}
      [test line test line]
      'test line test line'
      `test line test line`
      (test line test line)
      <test line test line>
       "test line test line"."test line test line""test line test line" "test line test line"
      {"test line test line"}
      ["test line test line"]
      '"test line test line"'
      `"test line test line"`
      ("test line test line")
      <"test line test line">
      <TR><td>table data here</td></TR>
      <TR><td>"table data here"</td></TR>
      {test
         line
         test line}
      [test
          line test line]
      'test
         line test line'
      `test line
         test line`
      (test line
         test line)
      <test line
         test line>
         



Example 3, multi line test text to experiment with:

(Multi line test sentences Multi line test sentences.
Multi line test sentences.
   Multi line test sentences Multi line test sentences
   Multi line test sentencesMulti line test sentences.
 Multi line test sentences.)

"Multi line test sentences Multi line test sentences.
Multi line test sentences.
   Multi line test sentences Multi line test sentences
   Multi line test sentencesMulti line test sentences.
 Multi line test sentences."

---

20

Brackets or Quotes around Selection
Note that you can also put brackets and quotes around an selection.

"Tools > Options > Formatting > Smart Helpers" > "Surround Selection With (, {, [, " ' "
will put brackets on both sides of an selection - if opening bracket is pressed.

- select an word or line
- press opening bracket or quote
=> the selection is surrounded.


Which type of braces would be taken into account
depends on <lang>_spec.xml schema (OpenClose tags), example:
    <SPECIFICATION>
      <OpenClose>()[]{}''&lt;&gt;</OpenClose>



21

Select whole HTML tags:
How To Do:
- go to (1)
- press F7 (Set Anchor in current position)
- go inside the opening tag (2)
- press Alt+G (Smart Navigate to go to matching tag) (3)
- go outside the tag (4)
- use Select From Anchor (Shit+F7)
and the whole tag is selected.
Note that this works only if the scope is defined in the lang_spec.xml,
i.e. jump f.ex. to HTML-tag works only in an HTML document.



<html>
 (1)<h(2)ead>
  <title>Untitled</title>
  <meta name="generator" content="HippoEDIT" />
  <meta name="author" content="Stefan Monk" />
  <meta name="keywords" content="" />
  <meta name="description" content="" />
 </(3)head>(4)
 <body>
   <DIV style=width:65%;>
 "test line test line"

  </DIV>
 </body>
</html>

Note: Alt+G (Smart Navigate to go to matching tag) works only if the syntax this supports,
      i.e if the open/close tags are defined in lang_spec.xml, example:
      <SCOPES open_container="xml_open_tag" close_container="xml_close_tag">
         <Scope open="a" close="a"/>
         <Scope open="table" close="table"/>


-------------------------------------------------------
22

_

Pages: 1 2 [3] 4 5 ... 9