Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 438892
Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.client.editor/web/orion/editor/contentAssist.js (-2 / +8 lines)
Lines 166-172 Link Here
166
			}
166
			}
167
			
167
			
168
			if (proposal.overwrite) {
168
			if (proposal.overwrite) {
169
				start = this.getPrefixStart(model, mapStart);
169
			    if(typeof proposal.prefix === 'string') {
170
			        start = mapStart-proposal.prefix.length;
171
			    } else {
172
				    start = this.getPrefixStart(model, mapStart);
173
				}
170
			}
174
			}
171
175
172
			var data = {
176
			var data = {
Lines 373-379 Link Here
373
							if (!proposal) {
377
							if (!proposal) {
374
								return false;
378
								return false;
375
							}
379
							}
376
							
380
							if(typeof proposal.prefix === 'string') {
381
							    prefixText = proposal.prefix;
382
							}
377
							if ((STYLES[proposal.style] === STYLES.hr)
383
							if ((STYLES[proposal.style] === STYLES.hr)
378
								|| (STYLES[proposal.style] === STYLES.noemphasis_title)) {
384
								|| (STYLES[proposal.style] === STYLES.noemphasis_title)) {
379
								return true;
385
								return true;

Return to bug 438892