 |
 | How do I make auto-close brackets to work? |  |
 |
 | |  |
Joined: 06 Oct 2007 |
Posts: 11 |
|
|
 |
Posted: Sun Dec 09, 2007 10:13 pm |
|
 |
 |
 |
 |
That is exactly the point I was trying to make here. Please change this in your software.
|
|
Joined: 05 Aug 2007 |
Posts: 32 |
|
|
 |
Posted: Sun Dec 09, 2007 11:49 pm |
|
 |
 |
 |
 |
It also goes back to THIS topic where i originally said that they didn't work properly. To which the quotes were changed to act as expected (typing another one skips right over); however, the brackets were never fixed.
I'm getting 5220 right now, it's not listed as a fix, but hey, they don't actually generate a real list of improvements & fixes (like say the one Mozilla releases with builds).
Nope.... still not working in 5220.... for $300... the least it could do is act in some uniform fashion. I mean, why would the quotes act one way, but the brackets the complete opposite?
|
|
 |
 | |  |
 |
 | |  |
Joined: 05 Aug 2007 |
Posts: 32 |
|
|
 |
Posted: Mon Dec 10, 2007 8:59 am |
|
 |
 |
 |
 |
Wait.... what do you mean quotes don't have opening and closings? Have you not learned the English language? Forgive me for my bluntness, but come on. There are opening and closing quotes. If there weren't, then to quote something you wouldn't have "Begin quote" whatever needs to be quoted "End quote" in conversations, or you would only see:
"This is something someone said
in written text. If you actually think about it, there are closing quotes, they just don't display differently. Then again, in Microsoft Word, the opening quotes look like a filled in 6, while the closing quotes look like a filled in 9. So you're saying that those aren't opening and closing? That's not to mention that if you were to create a PHP page and leave the string open (i.e. no closing string delimiter, which is a quotation mark (either double or single)) then you'd get a PHP error like:
Quote: | PHP Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /path/to/some/script.php on line # |
To further validate that quotation marks are in fact pairs with an opening or closing one, Wikipedia says:
Quote: | The pair consists of an opening quotation mark and a closing quotation mark |
I'm sorry, but could you please think before you respond in this forum? I know you're an admin and everything, and you work on the product, but unfounded answers to legitimate issues is not the way to grow your customer base.
EDIT
Quote: | Finally I'm not sure that after the functionality is chaged, there will be no requests to return it back |
After it's changed, I'm not sure there will be requests to change it back. Even so, you could make an extra checkbox that enables only if auto-close brackets is enabled which says "Automatically skip over closing brackets" which does what we're asking.
|
|
 |
 | |  |
 |
 | |  |
Joined: 05 Aug 2007 |
Posts: 32 |
|
|
 |
Posted: Mon Dec 10, 2007 5:13 pm |
|
 |
 |
 |
 |
Well, technically they're not the same character, they're just the same typed character. Inside the English language, there are opening and closing quotes (as opening are usually written to reflect a filled "6" and closing to reflect a closed "9") but it's grown to be just two lines instead of real quotes. Same with single quotes. It still doesn't matter. no matter what, with the exception of escaped quotes, you MUST have an even number of quotes in your PHP files. And since we can have settings based on PHP, why can't this be added? When one bracket is entered, +1 for that type, when it's closed -1. If it's 0, then you're fine, if it's +1 and auto-close brackets is enabled, skip the already showing quote.
EDIT Sorry, used "quotes" in my last part instead of "brackets"
|
Last edited by bpat1434 on Tue Dec 11, 2007 7:50 pm; edited 1 time in total
|
 |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT - 5 Hours
Page 1 of 2
|
|
|
|  |