X-Received: by 10.50.9.7 with SMTP id v7mr371204iga.2.1372487821374;
Fri, 28 Jun 2013 23:37:01 -0700 (PDT)
X-BeenThere: scintilla-***@googlegroups.com
Received: by 10.50.85.9 with SMTP id d9ls755643igz.30.canary; Fri, 28 Jun 2013
23:37:00 -0700 (PDT)
X-Received: by 10.66.218.7 with SMTP id pc7mr3227511pac.18.1372487820493;
Fri, 28 Jun 2013 23:37:00 -0700 (PDT)
Received: from relay1.mentorg.com (relay1.mentorg.com. [192.94.38.131])
by gmr-mx.google.com with ESMTPS id rv7si429481pbc.1.2013.06.28.23.37.00
for <scintilla-***@googlegroups.com>
(version=TLSv1 cipher=RC4-SHA bits8/128);
Fri, 28 Jun 2013 23:37:00 -0700 (PDT)
Received-SPF: neutral (google.com: 192.94.38.131 is neither permitted nor denied by best guess record for domain of ***@mentor.com) client-ip2.94.38.131;
Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58])
by relay1.mentorg.com with esmtp
id 1UsomJ-0005WO-N5 from ***@mentor.com
for scintilla-***@googlegroups.com; Fri, 28 Jun 2013 23:36:59 -0700
Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675);
Fri, 28 Jun 2013 23:36:59 -0700
Received: from NA-MBX-03.mgc.mentorg.com ([fe80::9a:1569:df57:45b8]) by
SVR-ORW-FEM-05.mgc.mentorg.com ([169.254.102.222]) with mapi id
14.02.0247.003; Fri, 28 Jun 2013 23:36:58 -0700
Thread-Topic: [scintilla] Announcing ScintillaTk project
Thread-Index: AQHOcvKCKwXNbXE5sk6l+oD4tGyJVJlLKj6AgAEVEwCAABrhAIAAA7aAgABJ/oCAAA2pAA=In-Reply-To: <14E585FF-9F4B-4CA9-B8BF-***@me.com>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.34.91.1]
X-OriginalArrivalTime: 29 Jun 2013 06:36:59.0795 (UTC) FILETIME=[0ED18630:01CE7493]
X-Original-Sender: ***@mentor.com
X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral
(google.com: 192.94.38.131 is neither permitted nor denied by best guess
record for domain of ***@mentor.com) smtp.mail=***@mentor.com
Precedence: list
Mailing-list: list scintilla-***@googlegroups.com; contact scintilla-interest+***@googlegroups.com
List-ID: <scintilla-interest.googlegroups.com>
X-Google-Group-Id: 656528822808
List-Post: <http://groups.google.com/group/scintilla-interest/post>, <mailto:scintilla-***@googlegroups.com>
List-Help: <http://groups.google.com/support/>, <mailto:scintilla-interest+***@googlegroups.com>
List-Archive: <http://groups.google.com/group/scintilla-interest>
Sender: scintilla-***@googlegroups.com
List-Unsubscribe: <http://groups.google.com/group/scintilla-interest/subscribe>,
<mailto:googlegroups-manage+656528822808+***@googlegroups.com>
Content-Language: en-US
Content-ID: <***@mentor.com>
Archived-At: <http://permalink.gmane.org/gmane.comp.lib.scintilla.devel/12965>
Post by Neil HodgsonPost by Griffin, BrianThanks. These changes all sound reasonable. I'll work on them.
If there are advantages to allowing XYPOSITION to be int then I'd like to know since that was why it was made a typedef. Since the change to floating point positions was made there hasn't been any reason to choose integer layout. Some memory could be saved by compressing down to 16 bit integers where possible but this would have to be a dynamic choice since its easy to go over 32K pixels just for a 4K paragraph.
No advantage that I can see. The Tk abstraction for rendering text and graphics uses int coordinates. So does the underlying Xlib. There's not scaling taking place, it's drawing directly to pixmaps. The developer that did the initial implementation just propagate the int outward into Scintilla.
I've changed the code to convert to int at the Tk API call instead. It makes sense to me to keep the editor at an abstract level and covert, if necessary, just before rendering.
Post by Neil HodgsonCommitted addition of PLAT_TK as
http://sourceforge.net/p/scintilla/code/ci/f7ae58be37b8a536336d412be21a06006ce8c5a4/
Thanks!
I've made all the other changes, except for the XPM changes, I have to look to see if we need XPM in or application. I suspect not, but I have to make sure.
I think the ILexer destructors where put in due to valgrind errors. I'm waiting to hear back from the person that made the change to see why it was made.
-Brian
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.