[Rev 03] RFR: 8130738: Add tabSize property to Text and TextFlow
Phil Race
prr at openjdk.java.net
Fri Dec 13 05:12:06 UTC 2019
On Fri, 13 Dec 2019 04:42:07 GMT, Scott Palmer <swpalmer at openjdk.org> wrote:
>> We are referring to the character here aren't we ? ie the actual character and the rest of it is about how it renders.
>> Paraphrasing the java doc it says :
>> If you display <the tab character> it will display as N instances of <the space character>
>
> I find "size of the tab character" to be a bit confusing. The number of space you advance is not a constant for one, so tab characters don't really have a fixed size in that sense. The javadoc could be rephrased as "the distance between tab stops". However, that keeps the unfamiliar, but correct IMO, "tab stop" wording. For the record the top google hit for "tab stop" results in: "A tab stop is a term used to describe the location the cursor stops after the Tab key is pressed." Wikipedia says something similar and adds, "In text editors on a computer, the same concept is implemented simplistically with automatic, fixed tab stops."
OK. Lets not do this to death. I knew what you meant by tab stop.
-------------
PR: https://git.openjdk.java.net/jfx/pull/32
More information about the openjfx-dev
mailing list