Merging [Ctrl-Alt-F7] and [Ctrl-Shift-F7] for strings ?

0
17 comments
Avatar
Permanently deleted user

+1 for that one. That would be really cool and should'nt be that big of a from problem. When activated check wether its a java thingy (method, class, variable etc) - when not - use the ctrl-alt-f7 version.

Anders

0
Avatar
Permanently deleted user

Hi Alain,

What newsreader you are using. Mine (Free Agent) has significant
problems with your html-messages :(

Tom

On Wed, 23 Jul 2003 20:56:31 -0100, Alain Ravet
wrote: > > >]]>

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>

> > >
>
>About the new (873) :
>    "Editor. Highlighting usages of the selected text (in XML/Java)."
>    [Ctrl-Alt-F7]    
]]>

...

0
Avatar
Permanently deleted user

The main reason was not to mix two completely different search mechanisms.
What about
System.out.println("s =" + |s); //| is the caret position
Should it search for s in the string too?
Or even
System.out.println("some string =" + |s);
In this case ctrl-shift-f7 would find 3 occurencies of s, not what you have meant I suppose.
The real difference is that ctrl-alt-f7 searches for text occurencies, while ctrl-shift-f7 analyses the internal PSI
structure, thus allowing for a more precise search. So I think we should keep things separate.

Alain Ravet" wrote:

>About the new (873) :

"Editor. Highlighting usages of the selected text (in XML/Java)."

>Question :
>----


>What's the reason for not reusing ?

0
Avatar
Permanently deleted user

Evgueny Vigdorchik wrote:

The main reason was not to mix two completely different search mechanisms.
What about
System.out.println("s =" + |s); //| is the caret position
Should it search for s in the string too?


How about searching for true usages when you invoke c-s-f7 without a
selection, and searching for strings when you have selected some text?
I don't think I've ever selected an element before searching for it.

On the other hand, maybe the current behaviour is easier to explain to
new users since it is less sensitive to the context (whether there is a
selection or not).

0
Avatar
Permanently deleted user

Exactly

"Jonas Kvarnström" wrote in message caret position

On the other hand, maybe the current behaviour is easier to explain to
new users since it is less sensitive to the context (whether there is a
selection or not).




0
Avatar
Permanently deleted user

Tom,

>What newsreader you are using. Mine (Free Agent) has significant
>problems with your html-messages :(
>

Mozilla 1.3a.
I selected "Fixed Width" in the font list, and posted is as "html only",
as I also do with all the messages where I put screenshots.
Can you see those correctly?

Alain

0
Avatar
Permanently deleted user

Evgueny Vigdorchik wrote:


> The main reason was not to mix two completely different search
mechanisms.

Is there a situation where both search mechanisms are activeable at the
same time?
If yes, this could justify 2 separate actions.

I find the current behaviour is limited and too complex.
It could be extended, and simplified at the same time : see below.




Suggestion :
-


('|' = caret, '[..]' = selection)



*********
case 1 : == search through "same kind of objects".
*********

current behaviour :
-



ex 1 : current behaviour of

  • System.out.println("s2 =" + |s2);

  • System.out.println("s2 =" + );


=> search all the usages of s2


requested new behaviour :
-




ex 2 : caret in string + no selection
(== same as if the whole string were selected)

  • System.out.println("|s2 =" + s2);


=> search, in strings, all the occurences of the complete and exact
string "s2 ="


ex 3: a substring is selected

  • System.out.println("[s2] =" + s2);


=> search, in strings, all the occurences of the exact string "s2"





*********
case 2 : == search through file for characters



current behaviour :
-



ex 4 : (current behaviour) : selection +

  • System.out.println("s2 =" + );


=> search in the file all the occurences of the characters "s2"



requested new behaviour :
-



ex 5 : caret in string + no selection
(== same as if the whole string were selected)


  • System.out.println("|s2" + " =" + s2);


=> search in the file all the occurences of the characters "s2"

Alain




0
Avatar
Permanently deleted user

(improved formatting for previous message)



Evgueny Vigdorchik wrote:


> The main reason was not to mix two completely different search
mechanisms.

Is there a situation where both search mechanisms are activeable at the
same time?
If yes, this "c"ould justify 2 separate actions.





Suggestion :
-


('|' = caret, '[..]' = selection)



*********
case 1 : == search through "same kind of objects".
*********



current behaviour :
-



ex 1 : current behaviour of

  • System.out.println("s2 =" + |s2);

  • System.out.println("s2 =" + );


=> search all the usages of s2


requested new behaviour :
-




ex 2 : caret in string + no selection
(== same as if the whole string were selected)

  • System.out.println("|s2 =" + s2);


=> search, in strings, all the occurences of the complete and exact
string "s2 ="


ex 3: a substring is selected

  • System.out.println("[s2] =" + s2);


=> search, in strings, all the occurences of the exact string "s2"





*********
case 2 : == search through "all kind of objects".



current behaviour :
-



ex 4 : (current behaviour) : selection +

  • System.out.println("s2 =" + );


=> search in the file all the occurences of the characters "s2"



requested new behaviour :
-



ex 5 : caret in string + no selection
(== same as if the whole string were selected)


  • System.out.println("|s2" + " =" + s2);


=> search in the file all the occurences of the characters "s2"

Alain




0
Avatar
Permanently deleted user

>Mozilla 1.3a.

I've tried Mozilla 1.3 and 1.4, but it is very inconvenient (asking
each five seconds for the user name and password; you need to go into
the group to see, whether new messages are there; downloading the
message's content does not work automatically; ...) and therefore was
always deleted after one day.

>I selected "Fixed Width" in the font list, and posted is as "html only",
>as I also do with all the messages where I put screenshots.

I see only html and image attachments.

>Can you see those correctly?

This message is fine.

Tom

0
Avatar
Permanently deleted user

Tom,


> I've tried Mozilla 1.3 and 1.4, but it is very inconvenient
> (asking each five seconds for the user name and password;

It's funny ( funny 'strange', not funny 'aha'): I've never experienced that.


> you need to go into the group to see, whether new messages
> are there; downloading the message's content does not work
> automatically; ...) and therefore was always deleted after one day.

When I send a msg to a newsgroup, it takes no time - maybe half a sec. -
for it to appear it the group, so I can check it was sent correctly.


>This message is fine.

I guess that when there is just one fixed font, Mozilla sends it as pure
text.
It's really smart. You should try it. Oups, I forgot : you've already
done that ]]>.


Alain

0
Avatar
Permanently deleted user

Thomas Singer wrote:

>Hi Alain,
>
>What newsreader you are using. Mine (Free Agent) has significant
>problems with your html-messages :(
>

>
Is anybody else having problem with reading - my - html messages, with
or without images insertions?
If yes, what newsreader are you using?

Alain

0
Avatar
Permanently deleted user

Thomas Singer wrote:

I've tried Mozilla 1.3 and 1.4, but it is very inconvenient (asking
each five seconds for the user name and password;


There's a known bug where it asks for the user name and password for a
news server once per group, instead of once per server. This is
apparently because it is possible to have different passwords for
different groups, but it's very annoying until you've finally entered
the name and password for each group.

you need to go into
the group to see, whether new messages are there;


Edit | Mail and Newsgroup Account Settings | Server Settings | Check
for new messages every minutes. Then it refreshes automatically.

downloading the
message's content does not work automatically;


Not sure what you mean here.

0
Avatar
Permanently deleted user

Thanks.

>> downloading the message's content does not work automatically;
>
>Not sure what you mean here.

I meant, that it should not only download the headers, but the
content, too.

Tom

0
Avatar
Permanently deleted user

Thomas Singer wrote:
>>Not sure what you mean here.


I meant, that it should not only download the headers, but the
content, too.


Yes, I understood that much but why is it not enough that the messages
are downloaded the first time you read them? I'm not saying it is
enough, just wondering what your specific reasons are.

If you want to read messages offline you can select a set of newsgroups
that should be downloaded for offline reading. I actually do that on my
home computer because for some reason the latency for reading new
messages is enormous when I read the newsgroups on that computer
(sometimes several seconds to get a single new message, and then several
seconds for the next message and so on, on a 10 MBit connection). Then
I just syncronize before I start reading new messages. At work I don't
have this problem.

0
Avatar
Permanently deleted user

>Yes, I understood that much but why is it not enough that the messages
>are downloaded the first time you read them?

Because reading 50 messages is slow when you need to wait 2 or 3
seconds for each message.

Tom

0
Avatar
Permanently deleted user

Thomas Singer wrote:

Because reading 50 messages is slow when you need to wait 2 or 3
seconds for each message.


OK. In that case, either you could use the offline system (you don't
have to go offline, just use "download/sync now" to get all new messages
and store them locally), or I could just shut up and let you use
whatever solution you have already found :)

0
Avatar
Permanently deleted user

... or I could just shut up and let you use
whatever solution you have already found :)


The problem is, that I have not found a perfect solution yet. The one,
that comes close is Opera 7.11, but it crashes with IntelliJ's
news-server...

Tom

0

Please sign in to leave a comment.