Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newParagraph (0.18 sec)

  1. src/vendor/golang.org/x/text/unicode/bidi/bidi.go

    		return Ordering{}, nil
    	}
    
    	for _, fn := range p.opts {
    		fn(&p.options)
    	}
    	lvl := level(-1)
    	if p.options.defaultDirection == RightToLeft {
    		lvl = 1
    	}
    	para, err := newParagraph(p.types, p.pairTypes, p.pairValues, lvl)
    	if err != nil {
    		return Ordering{}, err
    	}
    
    	levels := para.getLevels([]int{len(p.types)})
    
    	p.o = calculateOrdering(levels, p.runes)
    	return p.o, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/text/unicode/bidi/core.go

    	// characters, and for PDIs with no matching isolate initiator, the value of
    	// matchingIsolateInitiator will be set to -1.
    	matchingIsolateInitiator []int
    }
    
    // newParagraph initializes a paragraph. The user needs to supply a few arrays
    // corresponding to the preprocessed text input. The types correspond to the
    // Unicode BiDi classes for each rune. pairTypes indicates the bracket type for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 29.4K bytes
    - Viewed (0)
Back to top