RE: [scite] How to Use Margin 1 and Marker(s) to show breakpoint.
Hi Robert, Yes, I did. I add Margin 1 to as symbol margin, and add code like below. SendOutput(SCI_MARKERDELETEALL, static_cast(-1)); SendOutput(SCI_MARKERDEFINE, 0, SC_MARK_SMALLRECT); SendOutput(SCI_MARKERSETFORE, 0, ColourOfProperty(props, "error.marker.fore", ColourDesired(0x7f, 0, 0))); SendOutput(SCI_MARKERSETBACK, 0, ColourOfProperty(props, "error.marker.back", ColourDesired(0xff, 0xff, 0))); SendOutput(SCI_MARKERADD, lookLine, 0); but I don't know how to configure the margin by clicked show as circle... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Roessler Sent: Thursday, July 12, 2007 9:06 AM To: Discussion of the SciTE editor Subject: Re: [scite] How to Use Margin 1 and Marker(s) to show breakpoint. Yan Feng wrote: > I want to use Margin 1 and Maker in Scite do show breakpoint as RED > circle , but I did not how to do this. > > I made the Margin 1 sensitive and I can receive the margin 1 cliked > notification message, but I did not know how to show the circle on the > margin 1 like vs.net. Have you read the section on Markers in ScintillaDoc.html? And maybe try using a SC_MARK_CIRCLE marker? Robert Roessler [EMAIL PROTECTED] http://www.rftp.com ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest
Re: [scite] How to Use Margin 1 and Marker(s) to show breakpoint.
Yan Feng wrote: I want to use Margin 1 and Maker in Scite do show breakpoint as RED circle , but I did not how to do this. I made the Margin 1 sensitive and I can receive the margin 1 cliked notification message, but I did not know how to show the circle on the margin 1 like vs.net. Have you read the section on Markers in ScintillaDoc.html? And maybe try using a SC_MARK_CIRCLE marker? Robert Roessler [EMAIL PROTECTED] http://www.rftp.com ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest
[scite] How to Use Margin 1 and Marker(s) to show breakpoint.
Hello all, I want to use Margin 1 and Maker in Scite do show breakpoint as RED circle , but I did not how to do this. I made the Margin 1 sensitive and I can receive the margin 1 cliked notification message, but I did not know how to show the circle on the margin 1 like vs.net. Could anyone help me ? Thanks, Rudolf ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest
RE: [scite] Ctrl+Tab navigation
Vladislav, > > What about this, is there a way of having that "stack" behavior back > in the > > current SciTE? > > You should set or uncomment option > buffers.zorder.switching=1 > in your config file. Hmm.. thanks... I think I tried that in I believe SciTE 1.73 some while ago but it wasn't working (I was trying in Linux, now I'm in Windows)... do you know if there were changes to that switching mode recently for making it work in v1.74? (otherwise, I wonder why it wasn't working in Linux, if it it's now working... I don't have a Linux box anymore) Regards, Kronuz. ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest
RE: [scite] Support for CSS in the HTML Language
Neil, > > it'd be nice if the JavaScript was a full "copy" of the stand > > alone CPP lexer. In some ways I've been thinking about possibly > reusing CPP > > functionality inside HTML; HTML would depend on CPP, and CPP would > have more > > a generalized version of its lexer available for HTML (or others) > use. (This > > would make the source code and hence the binary much smaller too) > >Both client-side and server-side JavaScript are handled > (separately) in the HTML lexer. Arbitrarily composable lexers would be > good: see SinkWorld for an implementation: > http://scintilla.sourceforge.net/SinkWorld.html > I'm checking out SinkWorld right now, sounds nice... from what I understood in the SinkWorld website, it is (and correct me if I'm wrong) basically a testbed for Scintilla, and many of the stuff there could be later moved to Scintilla I was just wondering, when and how are decisions of moving code from SinkWorld to Scintilla done? ...Also, is SinkWorld interface backward compatible with Sintilla? (i.e. can one compile, for instance, SciTE using SinkWorld instead of Scintilla as the main library?) By the way, I wanted to thank you and congratulate you for this extraordinary work, Scintilla and SciTE are just so amazingly great. Best regards, Kronuz. ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest
Re: [scite] Support for CSS in the HTML Language
Kronuz: it'd be nice if the JavaScript was a full "copy" of the stand alone CPP lexer. In some ways I've been thinking about possibly reusing CPP functionality inside HTML; HTML would depend on CPP, and CPP would have more a generalized version of its lexer available for HTML (or others) use. (This would make the source code and hence the binary much smaller too) Both client-side and server-side JavaScript are handled (separately) in the HTML lexer. Arbitrarily composable lexers would be good: see SinkWorld for an implementation: http://scintilla.sourceforge.net/SinkWorld.html Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest
[scite] Re: Support for CSS in the HTML Language
On 11/07/2007 05:38, Kronuz wrote: Hey how hard would it be to add /* CSS */ support for CSS in the HTML lexer? Would it be possible for someone to do it and add that support? It would be really nice if it had that. The HTML lexer is one huge lexer, using all available styling bits, so there is no room for another language like CSS, alas. Neil mentioned the possibility to drop embedded Python, whose usage is scarce, in favor of CSS. Also I think some recent features might change this problem. Also, I had a question about how the support for those other languages is added in the LexHTML.cxx… how come the JavaScript painted by the HTML lexer has different fonts/colors than the regular JavaScript lexer for .js files? Shouldn’t it be the same? And how is it that it has different background color too? The background color in the HTML is here to easily distinguish JS sections from HTML sections. It is not necessary if the file contains only JS. Color schemes can be changed anyway. I bet the JS lexer in the HTML lexer has been written/maintained by different people than the JS lexer (which is actually a C lexer). BTW, it would be nice to write in plain text to this list, I don't know what font you use in your message, but it is painful to read in Thunderbird. Thanks. -- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- -- ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest