Lines Matching refs:style
252 function MakeEditor(text, style, cursor, width) {
264 _font: make_default_font(style.typeface),
364 // force a block on every style boundary for now
470 'style', s_start, s_end);
538 // returns [index, prev total length before this style]
544 // < favors the latter style if index is between two styles
558 // - trim the first style
560 // - trim the last style
566 // we overlap the first style (but not entirely
591 applyStyleToRange: function(style, start, end) {
598 LOG('trying to apply', style, start, end);
623 LOG('whole run merging for style index', i)
624 layoutChanged |= this._styles[i].mergeFrom(style);
638 layoutChanged |= ns.mergeFrom(style);
649 applyStyleToSelection: function(style) {
650 this.applyStyleToRange(style, this._index.start, this._index.end);
655 s.mergeFrom(style);