Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Block caret
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nicholai Benalal  
View profile  
 More options Jan 9 2011, 6:18 pm
From: "Nicholai Benalal" <na...@skydreams.org>
Date: Mon, 10 Jan 2011 00:18:52 +0100
Local: Sun, Jan 9 2011 6:18 pm
Subject: Block caret

Hello,

Over recent months I have ported Scintilla to the Morphos operating
system (which is likely to be unknown to almost everyone :) and
implemented an editor around it. I'm overall I'm very happy with
Scintilla and its api and now only have some smaller issues to sort out
with my port.

One question though, the block caret mode (CARETSTYLE_BLOCK)seems to
behave a bit funny. When selecting text in this mode, one would expect
to click on top of a charactar to start selection from that point and
not between two chars as in line caret mode. Unless I'm overseeing
something, it's very easy to select the charactar next to the intended
one by mistake. Any ideas on this?

Best,

Nicholai


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neil Hodgson  
View profile  
 More options Jan 9 2011, 8:27 pm
From: Neil Hodgson <nyamaton...@gmail.com>
Date: Mon, 10 Jan 2011 12:27:07 +1100
Local: Sun, Jan 9 2011 8:27 pm
Subject: Re: [scintilla] Block caret
Nicholai Benalal:

> One question though, the block caret mode (CARETSTYLE_BLOCK) seems to behave
> a bit funny. When selecting text in this mode, one would expect to click on
> top of a charactar to start selection from that point and not between two
> chars as in line caret mode. Unless I'm overseeing something, it's very easy
> to select the charactar next to the intended one by mistake. Any ideas on
> this?

   I expect the block caret was implemented for a vi emulation mode,
and didn't change anything not needed for that.

   Neil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicholai Benalal  
View profile  
 More options Jan 10 2011, 4:17 am
From: "Nicholai Benalal" <na...@skydreams.org>
Date: Mon, 10 Jan 2011 10:17:18 +0100
Local: Mon, Jan 10 2011 4:17 am
Subject: Re: Re: [scintilla] Block caret

On 10 jan 2011 02:27 "Neil Hodgson" <nyamaton...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neil Hodgson  
View profile  
 More options Jan 10 2011, 5:28 am
From: Neil Hodgson <nyamaton...@gmail.com>
Date: Mon, 10 Jan 2011 21:28:31 +1100
Local: Mon, Jan 10 2011 5:28 am
Subject: Re: Re: [scintilla] Block caret
Nicholai Benalal:

> "Thus the mouse click is now resolved to a character position rather than an
> inter-character position"

> If I understand it correctly, that change only applies to double clicks.
> However, I think the same behaviour would be expected for a single click +
> drag when marking text. This would be independent of the caret style.

   Ever since Smalltalk, GUI editors have resolved mouse clicks to
inter-character positions rather than character positions.

   See Byte August 1981, section "Making a Selection":
http://carlstrom.com/stanford/cs242/readings/11.pdf

   Neil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicholai Benalal  
View profile  
 More options Jan 10 2011, 7:13 am
From: "Nicholai Benalal" <na...@skydreams.org>
Date: Mon, 10 Jan 2011 13:13:54 +0100
Local: Mon, Jan 10 2011 7:13 am
Subject: Re: Re: Re: [scintilla] Block caret

On 10 jan 2011 11:28 "Neil Hodgson" <nyamaton...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »