private void restoreSashRatio(SashForm sash, String prefId) {
        String resultsPanelRatio = getPreferenceStore().getString(prefId);
        if (!CommonUtils.isEmpty(resultsPanelRatio)) {
            String[] weightsStr = resultsPanelRatio.split("-");
            if (weightsStr.length > 1) {
                int[] weights = {
                    CommonUtils.toInt(weightsStr[0]),
                    CommonUtils.toInt(weightsStr[1]),
                };
                // If weight of one of controls less than 5% of weight of another - restore default wqeights
                if (weights[1] < weights[0] / 15 || weights[0] < weights[1] / 15) {
                    log.debug("Restore default sash weights");
                } else {
                    sash.setWeights(weights);
                }
            }
        }
    }
Changes mode of showing result for script execution - multiple results per tab or one tab per result.
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java