Enhancement requests

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
Guest

Enhancement requests

Post by Guest »

- Opening a file from the Explorer doesn't focus correclty to HTMLPad
- Coloring
- missing "foreach" in php
- There are some problems when a character right follow the <?, for example : <?/*, or <?generate()?>
- The <<<EOF in php isn't supported
- TAB related
- When pressing TAB, some chars aren't selected at the end of selection after.
- There is problems with tab for auto-formating (ex: convert to XHTML will use 2 chars instead of a tab char)
- If Hightlight URL is activated and tab character is used, the link isn't at the right place.
- The Goto dialog isn't closed on Enter
- Why is there always a "prev01~.php" created after saving a new file?
- Would be better to not store Undo for each characters, but for words for instance.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

I have moved this topic to more appropriate category - "feature requests".

I strongly agree on these points:
- missing "foreach" in php
- If Hightlight URL is activated and tab character is used, the link isn't at the right place.
- The Goto dialog isn't closed on Enter

Unfortunately following items can not be processed because it can not be understood what ate you meaning by them:
- Opening a file from the Explorer doesn't focus correclty to HTMLPad
- Coloring
- TAB related
- When pressing TAB, some chars aren't selected at the end of selection after
- There is problems with tab for auto-formating (ex: convert to XHTML will use 2 chars instead of a tab char) ... there is no auto-formatting feature in the program (if you refer to integrated HTML Tidy, it is 3rd party product and we can not help with it).

You should provide more detailed information about the problems you are having, otherwise, I'm afraid, we won't be able to help.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Guest

Post by Guest »

1) There are some problems when a character right follow the <?, for example : <?/*, or <?generate()?>

2) The <<<EOF in php isn't supported (Color)

Code: Select all

else
{
     print <<<EOF <html>
         <head>
         <title>Hello!</title>
         </head>
         <body>
              <a href="$redirection">click here</a>.
         </body>
         </html>
     EOF;
}

--------

A) Opening a file from the Explorer doesn't focus correclty to HTMLPad.
- HTMLPad is opened and I have an Explorer opened. (HTMLPad is in the background and it's not minimized)
- My php files as associated with HTMLPad.
- I click on a php file to open it. HTMLPad open it. The HTMLPad window comes in front, but, the window doesn't have the focus.

B) When pressing TAB, some chars aren't selected at the end of selection.
- Ok, type this (the \t means the TAB button) :

Code: Select all

\t\t<b>hello</b>
\t<i>hello2</i>
- Select the 2 lines from the first \t to the end of the secound line.
- Press TAB to indent; There is a problem with the selection.

C) There is problems with TAB for auto-formating :
- Create a new HTML document
- Before the <title> tag, there is 2 spaces (The option to use TAB to indent is checked (this is a bug, it should be a real TAB for the new documents))
- Change the 2 spaces for a TAB.
- Select All (ctrl+A), then go to Tool>HTML Tidy>Convert To XHTML
- The TAB in front of <title> is now 2 spaces.[/b]
Okar

Post by Okar »

Indeed, PHP supports 'Heredoc' string quoting. There is something wrong with the code given above.

The closing identifier, (EOF; in the exemple) should simply not be indented.

Code: Select all

else 
{ 
     print <<<EOF
    <html> 
    <head> 
    <title>Hello!</title> 
    </head> 
    <body> 
         <a href="$redirection">click here</a>. 
    </body> 
    </html> 
EOF; 
}
should work.
Guest

Re: Enhancement requests

Post by Guest »

Anonymous wrote: - There are some problems when a character right follow the <?, for example : <?/*, or <?generate()?>
These problems would not exist if you did not use the short open tags format. In my opinion your product would be much enhanced if the default tag were <?php

the html to php trick is nice, but it would parse faster if you used single quotes as opposed to double.
Post Reply