Mercurial > projects > dwt-addons
diff dwtx/jface/text/source/projection/ProjectionViewer.d @ 192:c3583c6ec027
Added missing default cases for switch statements
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 03 Nov 2008 22:52:26 +0100 |
parents | 1a5b8f8129df |
children |
line wrap: on
line diff
--- a/dwtx/jface/text/source/projection/ProjectionViewer.d Tue Oct 28 23:59:57 2008 +0100 +++ b/dwtx/jface/text/source/projection/ProjectionViewer.d Mon Nov 03 22:52:26 2008 +0100 @@ -255,6 +255,7 @@ } break; } + default: } return 0; } @@ -1072,6 +1073,7 @@ if (fireRedraw) invalidateTextPresentation(command.fOffset, command.fLength); break; + default: } } @@ -1467,6 +1469,7 @@ } return; } + default: } if (!isProjectionMode()) { @@ -1570,6 +1573,7 @@ return isProjectionMode(); case TOGGLE: return isProjectionMode() || !isSegmented(); + default: } return super.canDoOperation(operation);