#12003/7/16 18:28:09
请问如何知道文本框中的某个字符处于第几行。
如一个文本member如下,指定宽度,下面的文本自动换行。
“The most important of the Council's legal instruments in this field is the 1977 Nairobi Convention for the prevention, investigation and repression of Customs offences.
Such offences include all kinds of commercial fraud including the abuse of intellectual property rights, the illicit traffic of strictly controlled substances such as narcotic drugs, psychotropic substance and precursors, armaments, nuclear materials, toxic wastes, cultural property and protected animal and plant species.”
我能否知道其中某个单词如“strictly”在文本的第几行,怎么实现?或者我想知道第245个字符在哪行,请问各位高手如何判断?