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
Margin background color for current line
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
  4 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
 
Farshid Lashkari  
View profile  
 More options Oct 9 2012, 1:52 pm
From: Farshid Lashkari <fla...@gmail.com>
Date: Tue, 9 Oct 2012 10:52:11 -0700 (PDT)
Local: Tues, Oct 9 2012 1:52 pm
Subject: Margin background color for current line

Hi,

I've been playing around with the Sublime text editor (
http://www.sublimetext.com/) lately. It has a lot of neat features, I
suggest taking a look at it. One feature it has, that I'd like to add to my
application, is changing the margin background color for the current line.
It works similar to the SCI_SETCARETLINEBACK command, but only affects the
margin. Is this currently possible with scintilla? I know how to control
the background color of the margin, but it affects all the lines.

Cheers,
Farshid


 
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.
Lex Trotman  
View profile  
 More options Oct 9 2012, 7:10 pm
From: Lex Trotman <ele...@gmail.com>
Date: Wed, 10 Oct 2012 10:10:40 +1100
Local: Tues, Oct 9 2012 7:10 pm
Subject: Re: [scintilla] Margin background color for current line

On 10 October 2012 04:52, Farshid Lashkari <fla...@gmail.com> wrote:

> Hi,

> I've been playing around with the Sublime text editor (
> http://www.sublimetext.com/) lately. It has a lot of neat features, I
> suggest taking a look at it. One feature it has, that I'd like to add to my
> application, is changing the margin background color for the current line.
> It works similar to the SCI_SETCARETLINEBACK command, but only affects the
> margin. Is this currently possible with scintilla? I know how to control
> the background color of the margin, but it affects all the lines.

Use MARGINSETSTYLE to set the background per line.

Cheers
Lex


 
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.
Farshid Lashkari  
View profile  
 More options Oct 10 2012, 1:18 pm
From: Farshid Lashkari <fla...@gmail.com>
Date: Wed, 10 Oct 2012 10:18:59 -0700 (PDT)
Local: Wed, Oct 10 2012 1:18 pm
Subject: Re: [scintilla] Margin background color for current line

Hi Lex,

On Tuesday, October 9, 2012 4:10:42 PM UTC-7, Lex Trotman wrote:
> Use MARGINSETSTYLE to set the background per line.

The documentation seems to imply that MARGINSETSTYLE only applies to text
margins. Will it work with line number and symbols margins?

Cheers,
Farshid


 
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 Oct 13 2012, 6:38 am
From: Neil Hodgson <nyamaton...@me.com>
Date: Sat, 13 Oct 2012 21:38:54 +1100
Local: Sat, Oct 13 2012 6:38 am
Subject: Re: [scintilla] Margin background color for current line

Farshid Lashkari:

> I've been playing around with the Sublime text editor (http://www.sublimetext.com/) lately. It has a lot of neat features, I suggest taking a look at it. One feature it has, that I'd like to add to my application, is changing the margin background color for the current line. It works similar to the SCI_SETCARETLINEBACK command, but only affects the margin. Is this currently possible with scintilla? I know how to control the background color of the margin, but it affects all the lines.

   You would need to track the caret and use a marker. Maybe a translucent pixmap of the same size as the margin.

   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.
End of messages
« Back to Discussions « Newer topic     Older topic »