Searched refs:paragraph (Results 1 - 25 of 78) sorted by relevance

1234

/macosx-10.10/ruby-106/ruby/test/rdoc/
H A Dtest_rdoc_markup_paragraph.rb10 paragraph = RDoc::Markup::Paragraph.new
12 paragraph.accept visitor
14 assert_same paragraph, visitor.obj
18 paragraph = para('hello', ' world')
20 assert_equal 'hello world', paragraph.text
24 paragraph = para('hello', hard_break, 'world')
26 assert_equal 'helloworld', paragraph.text
28 assert_equal "hello\nworld", paragraph.text("\n")
H A Dtest_rdoc_markup_indented_paragraph.rb23 paragraph = @IP.new 0
25 paragraph.accept visitor
27 assert_equal paragraph, visitor.obj
39 paragraph = @IP.new(2, 'hello', ' world')
41 assert_equal 'hello world', paragraph.text
45 paragraph = @IP.new(2, 'hello', hard_break, 'world')
47 assert_equal 'helloworld', paragraph.text
49 assert_equal "hello\n world", paragraph.text("\n")
H A Dtest_rdoc_markup_formatter.rb13 def accept_paragraph paragraph
14 @res << attributes(paragraph.text)
/macosx-10.10/CPANInternal-159.1/Test-use-ok-0.11/inc/Pod/
H A DMarkdown.pm46 my $paragraph = '';
48 $paragraph .= sprintf '[[meta title="%s"]]', $data->{Title};
51 $paragraph .= "\n" . sprintf '[[meta author="%s"]]', $data->{Author};
53 return $paragraph;
90 my ($parser, $command, $paragraph, $line_num) = @_;
94 $paragraph = $parser->_clean_text($paragraph);
100 $paragraph = $parser->interpolate($paragraph, $line_num);
103 $parser->_save($parser->format_header($level, $paragraph));
[all...]
/macosx-10.10/postfix-255/postfix/mantools/
H A Dmake-relnotes6 # Input format: the leader text is copied verbatim; each paragraph
13 # each paragraph is tagged with [Incompat yyyymmdd] or with [Feature
42 if ($paragraph) {
44 ${$append_to}{$class} .= $paragraph . $_;
46 $paragraph = "";
49 if ($paragraph eq "") {
52 $paragraph = $_;
54 $paragraph = $prefix . $2;
60 #print "[", join(', ', @classes), "] ", $paragraph;
62 $paragraph
[all...]
/macosx-10.10/ruby-106/ruby/lib/rdoc/markup/
H A Dto_joined_paragraph.rb22 # Converts the parts of +paragraph+ to a single entry.
24 def accept_paragraph paragraph
28 paragraph.parts.each do |part|
51 #parts = paragraph.parts.chunk do |part|
57 paragraph.parts.replace parts
H A Dto_test.rb20 def accept_paragraph(paragraph)
21 @res << convert_flow(@am.flow(paragraph.text))
H A Dto_tt_only.rb60 # Adds +paragraph+ to the output
62 def accept_paragraph paragraph
63 tt_sections(paragraph.text)
H A Dto_rdoc.rb81 # Adds +paragraph+ to the output
192 # Adds +paragraph+ to the output
194 def accept_paragraph paragraph
195 text = paragraph.text @hard_break
200 # Adds +paragraph+ to the output
202 def accept_indented_paragraph paragraph
203 @indent += paragraph.indent
204 text = paragraph.text @hard_break
206 @indent -= paragraph.indent
H A Dto_html_snippet.rb50 # Adds +heading+ to the output as a paragraph
68 def accept_paragraph paragraph
71 text = paragraph.text @hard_break
H A Dparser.rb215 paragraph = RDoc::Markup::Paragraph.new
221 paragraph << data
232 paragraph.parts.last.sub!(/ \z/, '') # cleanup
236 paragraph
/macosx-10.10/ICU-531.30/icuSources/layoutex/layout/
H A Dplayout.h23 * \brief C API for paragraph layout.
31 * The opaque type for a paragraph layout.
38 * The opaque type for a line in a paragraph layout.
52 * Construct a <code>ParagraphLayout</code> object for a styled paragraph. The paragraph is specified
63 * @param chars is an array of the characters in the paragraph
65 * @param count is the number of characters in the paragraph.
81 * @param paragraphLevel is the directionality of the paragraph, as in the UBiDi object.
83 * @param vertical is <code>TRUE</code> if the paragraph should be set vertically.
108 * Close the given paragraph layou
[all...]
/macosx-10.10/ICU-531.30/icuSources/layoutex/
H A Dplayout.cpp44 pl_close(pl_paragraph *paragraph) argument
46 ParagraphLayout *pl = (ParagraphLayout *) paragraph;
59 pl_getParagraphLevel(pl_paragraph *paragraph) argument
61 ParagraphLayout *pl = (ParagraphLayout *) paragraph;
71 pl_getTextDirection(pl_paragraph *paragraph) argument
73 ParagraphLayout *pl = (ParagraphLayout *) paragraph;
83 pl_getAscent(const pl_paragraph *paragraph) argument
85 ParagraphLayout *pl = (ParagraphLayout *) paragraph;
95 pl_getDescent(const pl_paragraph *paragraph) argument
97 ParagraphLayout *pl = (ParagraphLayout *) paragraph;
107 pl_getLeading(const pl_paragraph *paragraph) argument
119 pl_reflow(pl_paragraph *paragraph) argument
131 pl_nextLine(pl_paragraph *paragraph, float width) argument
[all...]
/macosx-10.10/ICU-531.30/icuSources/samples/layout/
H A Dgnomelayout.cpp24 #include "paragraph.h"
37 Paragraph *paragraph; member in struct:Context
100 if (context->paragraph != NULL) {
101 delete context->paragraph;
104 context->paragraph = newPara;
108 context->paragraph->breakLines(context->width, context->height);
205 if (context->paragraph != NULL) {
210 context->paragraph->breakLines(context->width, context->height);
219 if (context->paragraph != NULL) {
220 gint maxLines = context->paragraph
[all...]
H A Dclayout.c31 pf_flow *paragraph; member in struct:Context
55 if (context->paragraph != NULL) {
59 pf_breakLines(context->paragraph, context->width, context->height);
65 si.nMax = pf_getLineCount(context->paragraph) - 1;
66 si.nPage = context->height / pf_getLineHeight(context->paragraph);
150 context->paragraph = pf_factory("Sample.txt", font, guiSupport);
221 if (context->paragraph != NULL && si.nPos != vertPos) {
222 ScrollWindow(hwnd, 0, pf_getLineHeight(context->paragraph) * (vertPos - si.nPos), NULL, NULL);
246 if (context->paragraph != NULL) {
252 lastLine = min (si.nPos + (le_int32) si.nPage, pf_getLineCount(context->paragraph)
[all...]
H A Dlayout.cpp17 #include "paragraph.h"
32 Paragraph *paragraph; member in struct:Context
54 if (context->paragraph != NULL) {
58 context->paragraph->breakLines(context->width, context->height);
64 si.nMax = context->paragraph->getLineCount() - 1;
65 si.nPage = context->height / context->paragraph->getLineHeight();
148 context->paragraph = Paragraph::paragraphFactory("Sample.txt", font, guiSupport);
219 if (context->paragraph != NULL && si.nPos != vertPos) {
220 ScrollWindow(hwnd, 0, context->paragraph->getLineHeight() * (vertPos - si.nPos), NULL, NULL);
244 if (context->paragraph !
[all...]
H A Dcgnomelayout.c25 pf_flow *paragraph; member in struct:Context
92 if (context->paragraph != NULL) {
93 pf_close(context->paragraph);
96 context->paragraph = newPara;
100 pf_breakLines(context->paragraph, context->width, context->height);
197 if (context->paragraph != NULL) {
202 pf_breakLines(context->paragraph, context->width, context->height);
211 if (context->paragraph != NULL) {
212 gint maxLines = pf_getLineCount(context->paragraph) - 1;
213 gint firstLine = 0, lastLine = context->height / pf_getLineHeight(context->paragraph);
[all...]
/macosx-10.10/CPANInternal-159.1/Pod-ProjectDocs-0.40/lib/Pod/ProjectDocs/
H A DParser.pm83 my ($parser, $command, $paragraph, $line_num, $pod_para) = @_;
84 my $ptree = $parser->parse_text( $paragraph, $line_num );
90 my ($parser, $paragraph, $line_num, $pod_para) = @_;
95 my ($parser, $paragraph, $line_num, $pod_para) = @_;
96 my $ptree = $parser->parse_text( $paragraph, $line_num );
184 my $paragraph = "<pre>" . join('', @{$para->{'-ptree'}}) . "\n\n</pre>";
187 $paragraph = "<dd>$paragraph</dd>";
189 $self->{buffer} .= $paragraph;
191 $self->_setTitle( $paragraph );
[all...]
/macosx-10.10/ruby-106/ruby/lib/rdoc/
H A Dtom_doc.rb165 # Internal: Builds a paragraph from the token stream
174 paragraph = RDoc::Markup::Paragraph.new
180 paragraph << data
190 paragraph
/macosx-10.10/WebCore-7600.1.25/xml/
H A DXMLErrors.cpp155 RefPtr<Element> paragraph = m_document->createElement(pTag, true); local
156 paragraph->parserSetAttributes(attributes);
157 paragraph->parserAppendChild(m_document->createTextNode("This document was created as the result of an XSL transformation. The line and column numbers given are from the transformed result."));
158 reportElement->parserAppendChild(paragraph.release());
/macosx-10.10/WebCore-7600.1.25/editing/
H A DTextCheckingHelper.cpp315 // Determine the character offset from the start of the paragraph to the start of the original search range,
334 // Determine the character offset from the end of the original search range to the end of the paragraph,
476 // Determine the character offset from the start of the paragraph to the start of the original search range,
478 TextCheckingParagraph paragraph(m_range);
480 // Start checking from beginning of paragraph, but skip past results that occur before the start of the original search range.
481 for (int startOffset = 0; startOffset < paragraph.checkingEnd(); ) {
485 m_client->textChecker()->checkGrammarOfString(StringView(paragraph.text()).substring(startOffset), grammarDetails, &badGrammarPhraseLocation, &badGrammarPhraseLength);
496 int badGrammarIndex = findFirstGrammarDetail(grammarDetails, badGrammarPhraseLocation, paragraph.checkingStart(), paragraph.checkingEnd(), markAll);
505 outGrammarPhraseOffset = badGrammarPhraseLocation - paragraph
[all...]
/macosx-10.10/tcl-105/tcl_ext/tklib/tklib/examples/ntext/
H A DntextDemoIndent.tcl21 To try the demo - place the cursor at the start of a paragraph and change the amount of initial space. The paragraph is a logical line of text; its first display line may have leading whitespace, and ntext indents any subsequent (wrapped) display lines to match the first.
22 This paragraph is indented by a tab. Again, the display lines are all indented to match the first.
/macosx-10.10/emacs-93/emacs/lisp/textmodes/
H A Dtext-mode.el56 (define-key map "\eS" 'center-paragraph)
77 (define-derived-mode paragraph-indent-text-mode text-mode "Parindent"
78 "Major mode for editing text, with leading spaces starting a paragraph.
80 when the first line of the following paragraph starts with whitespace.
81 `paragraph-indent-minor-mode' provides a similar facility as a minor mode.
85 `text-mode-hook' and `paragraph-indent-text-mode-hook'."
87 (paragraph-indent-minor-mode))
89 (defun paragraph-indent-minor-mode ()
90 "Minor mode for editing text, with leading spaces starting a paragraph.
92 first line of the following paragraph start
[all...]
/macosx-10.10/tcl-105/tcl84/tcl/tools/
H A Dman2help2.tcl50 set state(paragraph) 0
77 # the default paragraph font.
97 # Reverts to the default font for the paragraph type.
115 # paragraph. It outputs the header information for the paragraph.
145 # This procedure adds text to the current state(paragraph). If this is
146 # the first text in the state(paragraph) then header information for the
147 # state(paragraph) is output before the text.
150 # string - Text to output in the state(paragraph).
213 # string - Text to output in the state(paragraph)
[all...]
/macosx-10.10/ruby-106/ruby/lib/rdoc/rd/
H A Dblock_parser.rb384 # Creates a paragraph for +value+
386 def paragraph value method
747 result = paragraph val[0]
993 result = paragraph [val[0]].concat(val[1])
999 result = paragraph [val[0]]
1005 result = paragraph [val[0]].concat(val[1])
1011 result = paragraph [val[0]]

Completed in 288 milliseconds

1234