This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 246755
Collapse All | Expand All

(-)a/cnd.completion/src/org/netbeans/modules/cnd/completion/cplusplus/ext/CsmCompletion.java (-2 / +10 lines)
Lines 786-797 Link Here
786
786
787
        @Override
787
        @Override
788
        public int getStartOffset() {
788
        public int getStartOffset() {
789
            return 0;
789
            if (CsmKindUtilities.isOffsetable(clazz)) {
790
                return ((CsmOffsetable)clazz).getStartOffset();
791
            } else {
792
                return 0;
793
            }
790
        }
794
        }
791
795
792
        @Override
796
        @Override
793
        public int getEndOffset() {
797
        public int getEndOffset() {
794
            return 0;
798
            if (CsmKindUtilities.isOffsetable(clazz)) {
799
                return ((CsmOffsetable)clazz).getEndOffset();
800
            } else {
801
                return 0;
802
            }
795
        }
803
        }
796
804
797
        @Override
805
        @Override

Return to bug 246755