"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plugins/org.jkiss.dbeaver.ui.editors.data/src/org/jkiss/dbeaver/ui/controls/resultset/plaintext/PlainTextPresentation.java" between
dbeaver-6.1.5.tar.gz and dbeaver-6.2.0.tar.gz

About: DBeaver is a multi-platform database tool (for developers and database administrators) that supports all popular databases. Java sources.

PlainTextPresentation.java  (dbeaver-6.1.5):PlainTextPresentation.java  (dbeaver-6.2.0)
skipping to change at line 110 skipping to change at line 110
text.setFont(JFaceResources.getFont(JFaceResources.TEXT_FONT)); text.setFont(JFaceResources.getFont(JFaceResources.TEXT_FONT));
text.setLayoutData(new GridData(GridData.FILL_BOTH)); text.setLayoutData(new GridData(GridData.FILL_BOTH));
text.addCaretListener(event -> onCursorChange(event.caretOffset)); text.addCaretListener(event -> onCursorChange(event.caretOffset));
text.addSelectionListener(new SelectionAdapter() { text.addSelectionListener(new SelectionAdapter() {
@Override @Override
public void widgetSelected(SelectionEvent e) { public void widgetSelected(SelectionEvent e) {
curSelection = text.getSelectionText(); curSelection = text.getSelectionText();
fireSelectionChanged(new PlainTextSelectionImpl()); fireSelectionChanged(new PlainTextSelectionImpl());
} }
}); });
text.addDisposeListener(e -> dispose());
final ScrollBar verticalBar = text.getVerticalBar(); final ScrollBar verticalBar = text.getVerticalBar();
verticalBar.addSelectionListener(new SelectionAdapter() { verticalBar.addSelectionListener(new SelectionAdapter() {
@Override @Override
public void widgetSelected(SelectionEvent e) { public void widgetSelected(SelectionEvent e) {
if (verticalBar.getSelection() + verticalBar.getPageIncrement() >= verticalBar.getMaximum()) { if (verticalBar.getSelection() + verticalBar.getPageIncrement() >= verticalBar.getMaximum()) {
if (controller.getPreferenceStore().getBoolean(ResultSetPref erences.RESULT_SET_AUTO_FETCH_NEXT_SEGMENT) && if (controller.getPreferenceStore().getBoolean(ResultSetPref erences.RESULT_SET_AUTO_FETCH_NEXT_SEGMENT) &&
!controller.isRecordMode() && !controller.isRecordMode() &&
controller.isHasMoreData()) { controller.isHasMoreData()) {
controller.readNextSegment(); controller.readNextSegment();
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)