/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/tests/auto/utils/ansiescapecodehandler/ |
H A D | tst_ansiescapecodehandler.cpp | 33 typedef QList<FormattedText> FormattedTextList; 36 Q_DECLARE_METATYPE(FormattedText); 128 << FormattedText("red", redFormat) in testSimpleFormat_data() 129 << FormattedText(" text", defaultFormat)); in testSimpleFormat_data() 138 << FormattedText(" text", defaultFormat)); in testSimpleFormat_data() 144 << FormattedText("red", redFormat) in testSimpleFormat_data() 145 << FormattedText(" text", defaultFormat)); in testSimpleFormat_data() 152 << FormattedText(" text", defaultFormat)); in testSimpleFormat_data() 179 << FormattedText("gray", grayFormat) in testSimpleFormat_data() 211 << FormattedText("bold", boldFormat) in testSimpleFormat_data() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphic_objects/src/java/org/scilab/modules/graphic_objects/textObject/ |
H A D | TextObject.java | 43 protected FormattedText[] text; 56 text = new FormattedText[1]; in TextObject() 57 text[0] = new FormattedText(); in TextObject() 150 setText((FormattedText[]) value); in setProperty() 194 FormattedText[] newText = new FormattedText[dimensions[0] * dimensions[1]]; in setTextArrayDimensions() 197 newText[i] = new FormattedText(); in setTextArrayDimensions() 215 public FormattedText[] getText() { in getText() 216 FormattedText[] retText = new FormattedText[dimensions[0] * dimensions[1]]; in getText() 219 retText[i] = new FormattedText(text[i]); in getText() 228 public UpdateStatus setText(FormattedText[] textArray) { in setText() [all …]
|
H A D | FormattedText.java | 24 public class FormattedText { class 35 public FormattedText() { in FormattedText() method in FormattedText 41 public FormattedText(String text, Font font) { in FormattedText() method in FormattedText 50 public FormattedText(FormattedText formText) { in FormattedText() method in FormattedText 57 if (o instanceof FormattedText) { in equals() 58 FormattedText ft = (FormattedText) o; in equals()
|
/dports/math/gambit/gambit-16.0.1/src/gui/ |
H A D | dlabout.cc | 32 static wxStaticText *FormattedText(wxWindow *p_parent, const wxString &p_label, in FormattedText() function 59 topSizer->Add(FormattedText(this, in gbtAboutDialog() 64 topSizer->Add(FormattedText(this, _("Built with " wxVERSION_STRING), in gbtAboutDialog() 67 topSizer->Add(FormattedText(this, _T("http://www.wxwidgets.org"), in gbtAboutDialog() 71 topSizer->Add(FormattedText(this, in gbtAboutDialog() 75 topSizer->Add(FormattedText(this, in gbtAboutDialog() 79 topSizer->Add(FormattedText(this, in gbtAboutDialog() 84 topSizer->Add(FormattedText(this, _("This program is free software,"), in gbtAboutDialog() 87 topSizer->Add(FormattedText(this, _("distributed under the terms of"), in gbtAboutDialog() 90 topSizer->Add(FormattedText(this, _("the GNU General Public License"), in gbtAboutDialog()
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/libs/utils/ |
H A D | ansiescapecodehandler.h | 34 class QTCREATOR_UTILS_EXPORT FormattedText { 36 FormattedText() = default; 37 FormattedText(const FormattedText &other) = default; 38 FormattedText(const QString &txt, const QTextCharFormat &fmt = QTextCharFormat()) : 49 QList<FormattedText> parseText(const FormattedText &input);
|
H A D | outputformatter.cpp | 291 QList<FormattedText> formattedText = parseAnsi(text, charFmt); in doAppendMessage() 293 [](const FormattedText &t1, const FormattedText &t2) -> QString in doAppendMessage() 314 const QList<FormattedText> linkified = linkifiedText(formattedText, res.linkSpecs); in doAppendMessage() 315 for (const FormattedText &output : linkified) in doAppendMessage() 380 return d->escapeCodeHandler.parseText(FormattedText(text, format)); in parseAnsi() 383 const QList<FormattedText> OutputFormatter::linkifiedText( in linkifiedText() 389 QList<FormattedText> linkified; in linkifiedText() 393 for (const FormattedText &t : text) { in linkifiedText() 406 linkified << FormattedText(t.text.mid(nextLocalTextPos), t.format); in linkifiedText() 418 linkified << FormattedText(t.text.mid(nextLocalTextPos), t.format); in linkifiedText() [all …]
|
H A D | ansiescapecodehandler.cpp | 64 QList<FormattedText> AnsiEscapeCodeHandler::parseText(const FormattedText &input) in parseText() 84 QList<FormattedText> outputData; in parseText() 116 outputData << FormattedText(strippedText, charFormat); in parseText() 119 outputData << FormattedText(strippedText.left(escapePos), charFormat); in parseText() 149 outputData << FormattedText(strippedText.left(1), charFormat); in parseText()
|
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/td/telegram/ |
H A D | MessageEntity.h | 112 struct FormattedText { struct 123 StringBuilder &operator<<(StringBuilder &string_builder, const FormattedText &text); argument 125 inline bool operator==(const FormattedText &lhs, const FormattedText &rhs) { 129 inline bool operator!=(const FormattedText &lhs, const FormattedText &rhs) { 163 FormattedText parse_markdown_v3(FormattedText text); 165 FormattedText get_markdown_v3(FormattedText text); 174 … const FormattedText *text, 190 FormattedText get_message_text(const ContactsManager *contacts_manager, string message_text, 198 Result<FormattedText> process_input_caption(const ContactsManager *contacts_manager, DialogId dialo… 201 void add_formatted_text_dependencies(Dependencies &dependencies, const FormattedText *text); [all …]
|
/dports/science/cdk/cdk-cdk-2.3/display/renderbasic/src/main/java/org/openscience/cdk/renderer/generators/standard/ |
H A D | AbbreviationLabel.java | 136 static final class FormattedText { class in AbbreviationLabel 140 public FormattedText(String text, int style) { in FormattedText() method in AbbreviationLabel.FormattedText 301 static List<FormattedText> format(List<String> tokens) { in format() 302 List<FormattedText> texts = new ArrayList<>(2 + tokens.size()); in format() 310 texts.add(new FormattedText(coef + sign, STYLE_SUPSCRIPT)); in format() 314 texts.add(new FormattedText(token, STYLE_SUBSCRIPT)); in format() 333 texts.add(new FormattedText(token.substring(i), STYLE_NORMAL)); in format() 341 static void reduce(List<FormattedText> texts, int from, int to) { in reduce() 342 List<FormattedText> tmp = new ArrayList<>(texts.size()); in reduce() 343 FormattedText prev = null; in reduce() [all …]
|
/dports/devel/py-prompt-toolkit2/prompt_toolkit-2.0.10/prompt_toolkit/formatted_text/ |
H A D | base.py | 67 if isinstance(result, FormattedText): 70 return FormattedText(result) 88 class FormattedText(list): class 100 super(FormattedText, self).__repr__()) 126 result = FormattedText() 142 result = FormattedText()
|
/dports/devel/py-lineedit/lineedit-0.1.6/lineedit/deps/prompt_toolkit/formatted_text/ |
H A D | base.py | 67 if isinstance(result, FormattedText): 70 return FormattedText(result) 88 class FormattedText(list): class 100 super(FormattedText, self).__repr__()) 126 result = FormattedText() 142 result = FormattedText()
|
/dports/devel/py-prompt-toolkit/prompt_toolkit-3.0.23/examples/print-text/ |
H A D | true-color-demo.py | 6 from prompt_toolkit.formatted_text import HTML, FormattedText 28 print(FormattedText(fragments), color_depth=ColorDepth.DEPTH_4_BIT) 29 print(FormattedText(fragments), color_depth=ColorDepth.DEPTH_8_BIT) 30 print(FormattedText(fragments), color_depth=ColorDepth.DEPTH_24_BIT)
|
H A D | ansi-colors.py | 6 from prompt_toolkit.formatted_text import HTML, FormattedText 17 FormattedText( 58 FormattedText(
|
/dports/devel/py-prompt-toolkit2/prompt_toolkit-2.0.10/examples/print-text/ |
H A D | true-color-demo.py | 8 from prompt_toolkit.formatted_text import HTML, FormattedText 30 print(FormattedText(fragments), color_depth=ColorDepth.DEPTH_4_BIT) 31 print(FormattedText(fragments), color_depth=ColorDepth.DEPTH_8_BIT) 32 print(FormattedText(fragments), color_depth=ColorDepth.DEPTH_24_BIT)
|
H A D | ansi-colors.py | 8 from prompt_toolkit.formatted_text import HTML, FormattedText 18 print(FormattedText([ 40 print(FormattedText([
|
/dports/devel/py-prompt-toolkit/prompt_toolkit-3.0.23/prompt_toolkit/formatted_text/ |
H A D | base.py | 68 result: Union[FormattedText, StyleAndTextTuples] 98 if isinstance(result, FormattedText): 101 return FormattedText(result) 119 class FormattedText(StyleAndTextTuples): class 155 result = FormattedText() 171 result = FormattedText()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/graphic_objects/src/java/org/scilab/modules/graphic_objects/axes/ |
H A D | TicksProperty.java | 23 import org.scilab.modules.graphic_objects.textObject.FormattedText; 56 private ArrayList <FormattedText> labels; 66 labels = new ArrayList<FormattedText>(number); in TicksArrays() 69 labels.add(i, new FormattedText()); in TicksArrays() 103 public ArrayList<FormattedText> getLabels() { in getLabels() 110 public UpdateStatus setLabels(ArrayList<FormattedText> labels) { in setLabels() 151 this.labels = new ArrayList<FormattedText>(0); in setLabelsStrings() 155 FormattedText newText = new FormattedText(labels[i], font); in setLabelsStrings() 164 FormattedText ft = this.labels.get(i); in setLabelsStrings() 456 public ArrayList<FormattedText> getLabels() { in getLabels() [all …]
|
/dports/graphics/minder/Minder-1.13.1/src/parsers/ |
H A D | MarkdownParser.vala | 66 private void make_grey( FormattedText text, MatchInfo match, int paren ) { 70 private void highlight_header( FormattedText text, MatchInfo match ) { 75 private void highlight_bold( FormattedText text, MatchInfo match ) { 81 private void highlight_italics( FormattedText text, MatchInfo match ) { 87 private void highlight_url1( FormattedText text, MatchInfo match ) { 93 private void highlight_url2( FormattedText text, MatchInfo match ) { 99 private void highlight_url3( FormattedText text, MatchInfo match ) { 105 private void highlight_subscript( FormattedText text, MatchInfo match ) { 111 private void highlight_superscript( FormattedText text, MatchInfo match ) {
|
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/capnpc-0.10.2/src/ |
H A D | pointer_constants.rs | 23 use crate::codegen::{FormattedText, GeneratorContext}; 24 use crate::codegen::FormattedText::{Indent, Line, Branch}; 35 … options: WordArrayDeclarationOptions) -> ::capnp::Result<FormattedText> { in word_array_declaration() argument 65 -> ::capnp::Result<FormattedText> in generate_pointer_constant() argument
|
/dports/lang/gleam/gleam-0.18.2/cargo-crates/capnpc-0.14.4/src/ |
H A D | pointer_constants.rs | 23 use crate::codegen::{FormattedText, GeneratorContext}; 24 use crate::codegen::FormattedText::{Indent, Line, Branch}; 35 … options: WordArrayDeclarationOptions) -> ::capnp::Result<FormattedText> { in word_array_declaration() argument 64 -> ::capnp::Result<FormattedText> in generate_pointer_constant() argument
|
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/capnpc-0.10.2/src/ |
H A D | pointer_constants.rs | 23 use crate::codegen::{FormattedText, GeneratorContext}; 24 use crate::codegen::FormattedText::{Indent, Line, Branch}; 35 … options: WordArrayDeclarationOptions) -> ::capnp::Result<FormattedText> { 65 -> ::capnp::Result<FormattedText>
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/projectexplorer/ |
H A D | ioutputparser.cpp | 103 Utils::FormattedText monospacedText(task.details.join('\n')); in setDetailsFormat() 106 const QList<Utils::FormattedText> linkifiedText = in setDetailsFormat() 110 for (const Utils::FormattedText &ft : linkifiedText) { in setDetailsFormat()
|
/dports/devel/py-prompt-toolkit/prompt_toolkit-3.0.23/tests/ |
H A D | test_formatted_text.py | 4 FormattedText, 31 assert isinstance(to_formatted_text(html), FormattedText) 87 assert isinstance(to_formatted_text(value), FormattedText)
|
/dports/devel/py-prompt-toolkit2/prompt_toolkit-2.0.10/tests/ |
H A D | test_formatted_text.py | 6 FormattedText, 33 assert isinstance(to_formatted_text(html), FormattedText) 87 assert isinstance(to_formatted_text(value), FormattedText)
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Activities.Core.Presentation/System/Activities/Core/Presentation/ |
H A D | FlowchartConnectionPointsAdorner.cs | 68 …FormattedText trueMarkerFormattedText = new FormattedText(trueLabelText, new System.Globalization.… in OnRender() 99 …FormattedText falseMarkerFormattedText = new FormattedText(falseLabelText, new System.Globalizatio… in OnRender()
|