NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Detect multiline selection in search/replace


Joined: 08 Sep 2006
Posts: 72
Location: Poland
Reply with quote
If a text is selected, opening search or replace window will put the selection in the "Text to find" field. This is OK if we work on single lines, but if the selection covers multiple lines, the field should be automatically changed to multiline. Don't you think? (:
View user's profileFind all posts by bartheqSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8335
Reply with quote
The multiline search feature alone is a bit confusing to some people as they did not see it in the other editors and found it a bit cumbersome, so we decided to turn it off by default.
I'm not sure if triggering to multiline would make them happier.
On the other hand, I'd consider a fix like below:
if "find text under cursor" is on and multiple line is selected, find and find/replace dialogs should know full version of the text and if you switch to multiline, it should be shown multiline.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 08 Sep 2006
Posts: 72
Location: Poland
Reply with quote
dmitri wrote:
On the other hand, I'd consider a fix like below:
if "find text under cursor" is on and multiple line is selected, find and find/replace dialogs should know full version of the text and if you switch to multiline, it should be shown multiline.

Well it's something, but still not "natural" and effective. People using PhpED are programmers who are supposed to be intelligent, so automatic multiline mode when multiple lines were selected is not something they wouldn't understand... they should expect it - I think (:
View user's profileFind all posts by bartheqSend private message
Detect multiline selection in search/replace
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