NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Bug in Context Help?


Joined: 03 Apr 2004
Posts: 78
Reply with quote
I think I have found a bug when using context help.

It appears that there is a bug in the selection context help part of PhpED as double-clicking a function to select the function word (obviously, when setting of "Double-click Line" is disabled in Editor options) and pressing CTRL-F1, does not properly open the PHP helpfile opened to the selected function.

Example:
Code:

urlencode($_REQUEST[$params])


Select the word urlencode to highlight it (regardless of with keyboard or mouse), and press CTRL-F1 or use the Help | Context Help menu item. What happens? It does not open help at all.

However, if we make the selection from starting on the right side and ending on the left side (with mouse OR from keyboard) so selected reads urlencode it will open context help. Odd! But we must select it starting from the ( and working backwords like so:

| = carat, { } = selected text boundaries

Code:

1. urlencode|(
2. select rest of word
3. |{urlencode}(


I'm guessing that this is a bug in the selection text thing as selecting text from end to beginning seems to work fine.

Some settings that may effect this bug, and my current settings:

Quote:

(Editor options)
Autoindent Mode
[x] Show Matched Brackets
[ ] Double-click Line
[ ] Auto-close brackets
[ ] Auto-close quotes
[ ] Find text at cursor
[ ] Found text as selection
[ ] Overwrite blocks
Spaces in Tab: 4
Block Indent: 4
Auto-switch PHP/HTML

(Code Insight)
[ ] Code-completion
[ ] Tooltips

PhpED Version: 3.3.1 (3356)


What's interesting is that this used to work fine before I applied SP1 to 3.3.

Any ideas?
View user's profileFind all posts by Rick ChristySend private messageYahoo Messenger
Site Admin

Joined: 13 Jul 2003
Posts: 7901
Reply with quote
to get a context help on a php function you don't need to have it selected. Just place cursor on the word (on whatsoever letter of it), and press F1.
For example urlencod|e
where | denotes cursor location.

if cursor is placed _after_ the word, it won't get the help.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
heh


Joined: 03 Apr 2004
Posts: 78
Reply with quote
Embarassed

I didn't know that Smile I just assumed you had to highlight the word (from experience using other IDEs -- which probably wasn't required either)

Mr. Green
View user's profileFind all posts by Rick ChristySend private messageYahoo Messenger
Site Admin

Joined: 13 Jul 2003
Posts: 7901
Reply with quote
Enjoy, it's turned to be so easy Smile
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Bug in Context Help?
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 1  

  
  
 Reply to topic