Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for emphasize (0.23 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/Style.java

        public enum Emphasis {
            BOLD, REVERSE, ITALIC
        }
    
        public enum Color {
            DEFAULT, YELLOW, RED, GREY, GREEN, BLACK
        }
    
        public final Set<Emphasis> emphasises;
        public final Color color;
    
        public Style(Set<Emphasis> emphasises, Color color) {
            this.emphasises = emphasises;
            this.color = color;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultColorMap.java

            List<Color> colors = new ArrayList<Color>();
            for (Style.Emphasis emphasis : style.getEmphasises()) {
                if (emphasis.equals(Style.Emphasis.BOLD)) {
                    colors.add(newBoldColor());
                } else if (emphasis.equals(Style.Emphasis.REVERSE)) {
                    colors.add(newReverseColor());
                } else if (emphasis.equals(Style.Emphasis.ITALIC)) {
                    colors.add(newItalicColor());
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise-logging/src/main/java/org/gradle/internal/logging/text/StyledTextOutput.java

            /**
             * General purpose success message
             */
            Success,
            /**
             * <b>Emphasized</b> success message
             */
            SuccessHeader,
            /**
             * General purpose failure message
             */
            Failure,
            /**
             * <b>Emphasized</b> failure message
             */
            FailureHeader,
            /**
             * General purpose informational text
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultRedrawableLabelTest.groovy

            given:
            label.text = "text"
    
            when:
            redraw()
    
            then:
            1 * ansi.a("text")
            0 * ansi._
        }
    
        def "setting styled text (emphasis only) to the label will change the style and write the text to ansi"() {
            given:
            label.text = new StyledTextOutputEvent.Span(StyledTextOutput.Style.Header, "text")
    
            when:
            redraw()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top