My comments below - Noel, please feel free to provide additional detail.
a) How can I extract out the current line and column number?
TextArea#getRowIndex() will give you the line number. There is currently no way
to determine the column index. However, assuming that we define column index
as
invoke a logical action. Obviously, keystroke defaults are a must.
-Original Message-
From: Greg Brown [mailto:gkbr...@mac.com]
Sent: Sunday, June 20, 2010 10:08 AM
To: dev@pivot.apache.org
Subject: Re: [RFC] adding components to TextArea
My comments below - Noel, please feel free to provide
Cc: aappddeevv; 'Greg Brown'
Subject: Re: [RFC] adding components to TextArea
TextArea exposes the document model, along with formatting and styling
information, via the org.apache.pivot.wtk.text.* classes.
I'm busy building a demo application (basically a wordpad-clone) that
shows off how
Hi
The new child components are laid out using the existing *NodeView inner
classes in TextAreaSkin.
Currently, I set the size of the child components during the layout()
operation, and I set their position during the paint() operation.
I have to do it this way because TextAreaSkin only
I have to do it this way because TextAreaSkin only calculates position
information during paint().
I don't think that's accurate. It should be calculated in layout(), when
validate() is called on the document view. You should be able to position/size
the components after that call.
Should the 1.5.x branch be created from the 1.5 tag or from the current
trunk?
-T
On Mon, Jun 7, 2010 at 9:33 AM, Greg Brown gkbr...@mac.com wrote:
I think that traversing the view hierarchy again is OK.
Also, I think we should probably consider creating a 1.5.x branch at this
point. That
I was thinking we'd create it from trunk.
- Reply message -
From: Todd Volkert tvolk...@gmail.com
Date: Mon, Jun 7, 2010 11:03 am
Subject: [RFC] adding components to TextArea
To: dev@pivot.apache.org
Should the 1.5.x branch be created from the 1.5 tag or from the current
trunk?
-T
create it from trunk.
- Reply message -
From: Todd Volkert tvolk...@gmail.com
Date: Mon, Jun 7, 2010 11:03 am
Subject: [RFC] adding components to TextArea
To: dev@pivot.apache.org
Should the 1.5.x branch be created from the 1.5 tag or from the current
trunk?
-T
On Mon, Jun 7, 2010