Searched +refs:font +refs:selection (Results 1 - 25 of 49) sorted by relevance

12

/macosx-10.9.5/WebCore-7537.78.1/editing/mac/
H A DEditorMac.mm115 if (frame->selection()->isNone())
118 Position position = frame->selection()->selection().visibleStart().deepEquivalent();
122 RefPtr<EditingStyle> typingStyle = frame->selection()->typingStyle();
143 if (!m_frame->selection()->isRange()) {
149 result = style->font().primaryFont();
157 const SimpleFontData* font = 0;
158 RefPtr<Range> range = m_frame->selection()->toNormalizedRange();
159 Node* startNode = adjustedSelectionStartForStyleComputation(m_frame->selection()->selection())
[all...]
/macosx-10.9.5/tcl-102/tk/tk/tests/ttk/
H A Dentry.test36 .e selection range 1 3
37 selection get
78 ttk::entry .e -font fixed -width 5 -xscrollcommand scroll
83 # NOTE: result can vary depending on font.
89 variable cw [font measure $fixed a]
90 variable ch [font metrics $fixed -linespace]
92 variable ux [font measure $fixed \u4e4e]
94 pack [ttk::entry .e -font $fixed -width 20]
119 .e selection range 0 end
123 selection ge
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebPage/mac/
H A DWebPageMac.mm273 if (frame->selection()->isContentEditable()) {
277 frame->selection()->setSelection(VisibleSelection(replacementRange.get(), SEL_DEFAULT_AFFINITY));
311 frame->selection()->setSelection(VisibleSelection(replacementRange.get(), SEL_DEFAULT_AFFINITY));
333 frame->selection()->setSelection(VisibleSelection(replacementRange.get(), SEL_DEFAULT_AFFINITY));
352 if (range && TextIterator::getLocationAndLengthFromRange(frame->selection()->rootEditableElementOrDocumentElement(), range.get(), locationSize, lengthSize)) {
368 RefPtr<Range> range = frame->selection()->toNormalizedRange();
369 if (range && TextIterator::getLocationAndLengthFromRange(frame->selection()->rootEditableElementOrDocumentElement(), range.get(), locationSize, lengthSize)) {
383 if (frame->selection()->isNone() || !frame->selection()->isContentEditable() || frame->selection()
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/unix/tools/
H A Dtkmanpages35 {font.n tk/control/font}
64 {selection.n tk/control/selection}
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DcssNamedFlows.css39 font-style: italic;
40 font-size: 10px;
57 .css-named-flow-collections-view .split-view-sidebar .selection {
H A Dinspector.css115 font-family: inherit;
116 font-size: inherit;
210 font-size: 14px;
211 font-weight: bold;
298 font-size: 17px;
299 font-weight: bold;
414 font-size: 11px;
468 font-size: 11px;
816 font-weight: bold;
906 font
[all...]
H A DresourcesPanel.css49 .resources.panel .sidebar li.selected .selection {
55 .resources.panel .sidebar :focus li.selected .selection {
60 body.inactive .resources.panel .sidebar li.selected .selection {
263 .resource-sidebar-tree-item.resources-type-font .icon {
267 .children.small .resource-sidebar-tree-item.resources-type-font .icon {
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/tkextlib/ICONS/
H A DviewIcons.rb23 lbl_library = TkLabel.new(base, :font=>@boldfont, :text=>'Library')
24 lbl_groups = TkLabel.new(base, :font=>@boldfont, :text=>'Groups')
25 lbl_columns = TkLabel.new(base, :font=>@boldfont, :text=>'Columns')
96 :font=>@boldfont, :justify=>:left)
98 :font=>@boldfont, :justify=>:left)
100 :font=>@boldfont, :justify=>:left)
102 :font=>@boldfont, :justify=>:left)
158 @font = dummy.font
159 @boldfont = TkFont.new(@font,
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/demos-en/
H A Dttknote.rb47 msg_m = Ttk::Label.new(f_msg, :font=>$font, :wraplength=>'4i',
51 which provides a set of tabs that allow the selection of a group of panels, \
H A Dwidget43 $font = TkFont.new('-*-Helvetica-Medium-R-Normal--*-140-*-*-*-*-*-*', nil)
45 $font = TkFont.new('Helvetica -12')
145 font $font
162 font $font
188 'font'=>statusfont) \
191 'font'=>statusfont) \
201 tag_title = TkTextTag.new(txt, 'font'=>'-*-Helvetica-Bold-R-Normal--*-180-*-*-*-*-*-*')
203 tag_title = TkTextTag.new(txt, 'font'
[all...]
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/ace/
H A Dace.js1746 var selection = this.session.getSelection();
1747 selection.removeEventListener("changeCursor", this.$onCursorChange);
1748 selection.removeEventListener("changeSelection", this.$onSelectionChange);
1796 this.selection = session.getSelection();
1797 this.selection.addEventListener("changeCursor", this.$onCursorChange);
1800 this.selection.addEventListener("changeSelection", this.$onSelectionChange);
1842 return this.selection;
1965 if ((this.$selectionStyle != "line" || !this.selection.isMultiLine()))
1992 if (!this.selection.isEmpty()) {
1993 var range = this.selection
[all...]
/macosx-10.9.5/WebKit-7537.78.2/qt/WebCoreSupport/
H A DQWebPageAdapter.cpp303 return (frame->selection()->selection().selectionType() != VisibleSelection::NoSelection);
310 if (frame->selection()->selection().selectionType() == VisibleSelection::NoSelection)
370 page->mainFrame()->selection()->clear();
373 frame->selection()->clear();
578 if (frame->selection()->rootEditableElement())
579 node = frame->selection()->rootEditableElement()->deprecatedShadowAncestorNode();
594 frame->selection()->setCaretVisible(a.length); // if length is 0 cursor is invisible
596 RenderObject* caretRenderer = frame->selection()
[all...]
/macosx-10.9.5/WebCore-7537.78.1/accessibility/ios/
H A DWebAccessibilityObjectWrapperIOS.mm1340 FrameSelection* frameSelection = m_object->document()->frame()->selection();
1341 VisibleSelection selection = m_object->selection();
1344 // Before a selection with length exists, the cursor position needs to move to the right starting place.
1346 // range of this element (the cursor is represented by selection), then the cursor does not need to move.
1347 if (frameSelection->isNone() && (selection.visibleStart() < range.start || selection.visibleEnd() > range.end))
1372 FrameSelection* frameSelection = m_object->document()->frame()->selection();
1478 static void AXAttributeStringSetFont(NSMutableAttributedString* attrString, GSFontRef font, NSRange range)
1480 if (!font)
[all...]
/macosx-10.9.5/WebCore-7537.78.1/rendering/
H A DRenderImage.cpp129 const Font& font = style()->font(); local
130 IntSize paddedTextSize(paddingWidth + min(ceilf(font.width(RenderBlock::constructTextRun(this, font, m_altText, style()))), maxAltTextWidth), paddingHeight + min(font.fontMetrics().height(), maxAltTextHeight));
363 const Font& font = style()->font(); local
364 const FontMetrics& fontMetrics = font.fontMetrics();
371 TextRun textRun = RenderBlock::constructTextRun(this, font, text, style());
372 LayoutUnit textWidth = font
[all...]
H A DRenderTheme.cpp121 borderBox = m_theme->controlBorder(part, style->font(), borderBox, style->effectiveZoom());
150 LengthBox paddingBox = m_theme->controlPadding(part, style->font(), style->paddingBox(), style->effectiveZoom());
161 LengthSize controlSize = m_theme->controlSize(part, style->font(), LengthSize(style->width(), style->height()), style->effectiveZoom());
168 LengthSize minControlSize = m_theme->minimumControlSize(part, style->font(), style->effectiveZoom());
175 FontDescription controlFont = m_theme->controlFont(part, style->font(), style->effectiveZoom());
176 if (controlFont != style->font().fontDescription()) {
180 // Now update our font.
182 style->font().update(0);
803 return focusDelegate == document->focusedElement() && frame && frame->selection()->isFocusedAndActive();
874 // font
1253 fileListNameForWidth(const FileList* fileList, const Font& font, int width, bool multipleFilesAllowed) const argument
[all...]
/macosx-10.9.5/WebCore-7537.78.1/accessibility/atk/
H A DWebKitAccessibleInterfaceText.cpp256 String fontFamilyName = style->font().firstFamily();
263 switch (style->font().weight()) {
318 result = addToAtkAttributeSet(result, atk_text_attribute_get_name(ATK_TEXT_ATTR_STYLE), style->font().italic() ? "italic" : "normal");
473 static void getSelectionOffsetsForObject(AccessibilityObject* coreObject, VisibleSelection& selection, gint& startOffset, gint& endOffset) argument
478 // Early return if the selection doesn't affect the selected node.
479 if (!selectionBelongsToObject(coreObject, selection))
483 // selected node that intersects the selection, to later on get
488 RefPtr<Range> selRange = selection.toNormalizedRange();
490 // If the selection affects the selected node and its first
491 // possible position is also in the selection, w
766 VisibleSelection selection = coreObject->selection(); local
792 VisibleSelection selection = coreObject->selection(); local
[all...]
/macosx-10.9.5/WebCore-7537.78.1/editing/
H A DEditingStyle.cpp446 // their font-color as their text fill color (they don't
468 // Explicit font size overrides any delta.
525 // FIXME: We should be able to figure out whether or not font is fixed width for mutable style.
526 // We need to check font-family is monospace as in FontDescription but we don't want to duplicate code here.
665 TriState EditingStyle::triStateOfStyle(const VisibleSelection& selection) const
667 if (!selection.isCaretOrRange())
670 if (selection.isCaret())
671 return triStateOfStyle(EditingStyle::styleAtSelectionStart(selection).get());
674 for (Node* node = selection.start().deprecatedNode(); node; node = NodeTraversal::next(node)) {
677 if (node == selection
1192 styleAtSelectionStart(const VisibleSelection& selection, bool shouldUseBackgroundColorInEffect) argument
1226 textDirectionForSelection(const VisibleSelection& selection, EditingStyle* typingStyle, bool& hasNestedOrMultipleEmbeddings) argument
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/expect/expect/example/
H A Dtkpasswd56 -font {Courier 12 bold} -setgrid 1
58 .names tag configure selection -relief raised
67 .names tag configure selection -background green
70 .names tag configure selection -background white -foreground black
214 set user [lindex [.names get selection.first selection.last] 0]
540 .names tag remove selection 0.0 end
542 # don't let selection go off top of screen
549 .names tag add selection $selection_line.0 [expr 1+$selection_line].0
591 $w tag remove selection 0.
[all...]
/macosx-10.9.5/tcl-102/tk/tk/generic/
H A DtkListbox.c6 * and selection.
56 Tcl_HashTable *selection; /* Tracks selection */ member in struct:__anon13444
80 Tk_Font tkfont; /* Information about text font, or NULL. */
86 int selBorderWidth; /* Width of border around selection. */
129 int selectAnchor; /* Fixed end of selection (i.e. element at
130 * which selection was started.) */
132 * selection. */
258 {TK_OPTION_FONT, "-font", "font", "Fon
3106 Tcl_DString selection; local
[all...]
/macosx-10.9.5/tcl-102/tk84/tk/generic/
H A DtkListbox.c6 * one per line, and provides scrolling and selection.
56 Tcl_HashTable *selection; /* Tracks selection */ member in struct:__anon13786
79 Tk_Font tkfont; /* Information about text font, or NULL. */
85 int selBorderWidth; /* Width of border around selection. */
128 int selectAnchor; /* Fixed end of selection (i.e. element
129 * at which selection was started.) */
131 * to X selection. */
256 {TK_OPTION_FONT, "-font", "font", "Fon
3054 Tcl_DString selection; local
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/tkextlib/treectrl/
H A Drandom.rb12 height = t.font.metrics(:linespace)
267 @Priv[:selection] = t.selection_get
272 @Priv.list_element(:selection).each{|i|
304 # If the item is not in the pre-drag selection
306 unless @Priv.list_element(:selection).find{|val| val.to_s == item.to_s}
309 @Priv.list_element(:selection).each{|item2|
366 randomDrop(t, @Priv[:drop], @Priv.list_element(:selection),
/macosx-10.9.5/emacs-92/emacs/src/
H A Dxterm.h117 includes mouse movement events, since handling the mouse-font text property
219 /* Minimum font height over all fonts in font_table. */
315 /* More atoms, which are selection types. */
321 /* More atoms for font properties. The last three are private
433 /* Regexp matching a font name whose width is the same as `PIXEL_SIZE'. */
469 /* Here are the Graphics Contexts for the default font. */
527 /* Default ASCII font of this frame. */
528 XFontStruct *font;
530 /* The baseline offset of the default ASCII font. */
533 /* If a fontset is specified for this frame instead of font, thi
524 XFontStruct *font; member in struct:x_output
918 Atom selection, target, property; member in struct:selection_input_event
[all...]
/macosx-10.9.5/emacs-92/emacs/lisp/term/
H A Dmac-win.el54 ;; -fn *font
55 ;; -font *font
83 (defvar mac-service-selection)
86 (defvar mac-font-panel-mode)
1116 XLFD-CHARSET is a string which will appear in the XLFD font name
1237 (set-selection-coding-system mac-system-coding-system)
1352 ;;; current selection against it, and avoid passing back our own text
1353 ;;; from x-get-selection-value.
1355 "The value of the CLIPBOARD selection las
[all...]
/macosx-10.9.5/emacs-92/emacs/etc/
H A Dcalccard.tex107 \font\titlefont=\fontname\tenbf \scaledmag3
108 \font\headingfont=\fontname\tenbf \scaledmag2
109 \font\smallfont=\fontname\sevenrm
110 \font\smallsy=\fontname\sevensy
119 \font\titlefont=cmbx10 \scaledmag2
120 \font\headingfont=cmbx10 \scaledmag1
121 \font\smallfont=cmr6
122 \font\smallsy=cmsy6
123 \font\eightrm=cmr8
124 \font\eightb
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/incrtcl/iwidgets/demos/
H A Dcatalog363 catch {$win.title configure -font -*-helvetica-bold-o-normal-*-*-180-*}
371 catch {$win.by configure -font -*-helvetica-medium-r-normal-*-*-100-*}
390 catch {$win.authors configure -font -*-helvetica-medium-o-normal-*-*-120-*}
409 $widgets(list) selection set 0

Completed in 286 milliseconds

12