mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Small fixes for UI + 1 fix for CModelBuilder
This commit is contained in:
parent
524975ed0f
commit
2e52e1bcc2
4 changed files with 12 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
|||
2004-02-06 Hoda Amer
|
||||
Fix for Bug#51208: NullPointerException in CModelBuilder
|
||||
|
||||
2004-02-05 Alain Magloire
|
||||
|
||||
PR 50810
|
||||
|
|
|
@ -122,7 +122,9 @@ public class CModelBuilder {
|
|||
parser = ParserFactory.createParser(
|
||||
ParserFactory.createScanner(
|
||||
new StringReader( code ),
|
||||
translationUnit.getUnderlyingResource().getLocation().toOSString(),
|
||||
(translationUnit.getUnderlyingResource() != null ?
|
||||
translationUnit.getUnderlyingResource().getLocation().toOSString() :
|
||||
""),
|
||||
scanInfo,
|
||||
mode,
|
||||
language,
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2004-02-06 Hoda Amer
|
||||
- Patch for Keith Campbell: Default template file change ( for statement )
|
||||
- Patch for Chris Wiebe: Better header file icon
|
||||
|
||||
2004-02-05 Alain Magloire
|
||||
|
||||
Patch from Chris Wiebe
|
||||
|
|
|
@ -10,13 +10,13 @@ All Rights Reserved.
|
|||
<!-- C++ -->
|
||||
|
||||
<template description="for loop" name="for" context="C Function">
|
||||
for (${var} = 0; ${var} < ${max}; ${var}++) {
|
||||
for (${var} = 0; ${var} < ${max}; ++${var}) {
|
||||
${cursor}
|
||||
}
|
||||
</template>
|
||||
|
||||
<template description="for loop with temporary variable" name="for" context="C Function">
|
||||
for (int ${var} = 0; ${var} < ${max}; ${var}++) {
|
||||
for (int ${var} = 0; ${var} < ${max}; ++${var}) {
|
||||
${cursor}
|
||||
}
|
||||
</template>
|
||||
|
|
Loading…
Add table
Reference in a new issue