private void drawExpansionRanges() {
        final double X_CORRECTURE = 0.0276;
        int minRangeX = (int) ((X_CORRECTURE + grammarWindow.getGrammarParser().getExpansionRangeX().getMin()) * xScale);
        int maxRangeX = (int) ((X_CORRECTURE + grammarWindow.getGrammarParser().getExpansionRangeX().getMax()) * xScale);

        g2.setStroke(EXPANSION_RANGE_STROKE);
        g2.setColor(EXPANSION_RANGE_COLOR);
        g2.drawLine(minRangeX, -getHeight(), minRangeX, getHeight());
        g2.drawLine(maxRangeX, -getHeight(), maxRangeX, getHeight());
    }