diff options
-rw-r--r-- | org.tizen.nativeapp.assignmenttracing/src/org/tizen/nativeapp/assignmenttracing/ui/AssignmentTracingUI.java | 15 | ||||
-rw-r--r-- | package/changelog | 9 | ||||
-rw-r--r-- | package/pkginfo.manifest | 2 |
3 files changed, 16 insertions, 10 deletions
diff --git a/org.tizen.nativeapp.assignmenttracing/src/org/tizen/nativeapp/assignmenttracing/ui/AssignmentTracingUI.java b/org.tizen.nativeapp.assignmenttracing/src/org/tizen/nativeapp/assignmenttracing/ui/AssignmentTracingUI.java index 8f08bd0..b684a2f 100644 --- a/org.tizen.nativeapp.assignmenttracing/src/org/tizen/nativeapp/assignmenttracing/ui/AssignmentTracingUI.java +++ b/org.tizen.nativeapp.assignmenttracing/src/org/tizen/nativeapp/assignmenttracing/ui/AssignmentTracingUI.java @@ -142,7 +142,7 @@ public class AssignmentTracingUI { public static final boolean DEBUG = false; // The singleton instance - private static AssignmentTracingUI singleton; + private static AssignmentTracingUI singleton = new AssignmentTracingUI(); /** * Def/use annotations applied currently in the current editor @@ -209,9 +209,6 @@ public class AssignmentTracingUI { * @return the singleton instance */ public static AssignmentTracingUI getInstance() { - if (singleton == null) { - singleton = new AssignmentTracingUI(); - } return singleton; } @@ -268,7 +265,10 @@ public class AssignmentTracingUI { } } Position pos = astNamePositionList.get(positionIndex); - getActiveCEditor().selectAndReveal(pos.getOffset(), pos.getLength()); + CEditor cEditor = getActiveCEditor(); + if (cEditor != null) { + cEditor.selectAndReveal(pos.getOffset(), pos.getLength()); + } } } @@ -294,7 +294,10 @@ public class AssignmentTracingUI { } } Position pos = astNamePositionList.get(positionIndex); - getActiveCEditor().selectAndReveal(pos.getOffset(), pos.getLength()); + CEditor cEditor = getActiveCEditor(); + if (cEditor != null) { + cEditor.selectAndReveal(pos.getOffset(), pos.getLength()); + } } } diff --git a/package/changelog b/package/changelog index 576ebf4..431aa30 100644 --- a/package/changelog +++ b/package/changelog @@ -1,3 +1,6 @@ -* 2.0.0
-- Tizen 2.0 release
-== hyukmin0530.kwon <hyukmin0530.kwon@samsung.com> 2013-01-11
+* 1.0.18 +- Version up for Tizen 2.1 +== hyukmin0530.kwon <hyukmin0530.kwon@samsung.com> 2013-03-19 12:04 +* 1.0.17 +- Synchronization to the tizen_2.0 branch +== hyukmin0530.kwon <hyukmin0530.kwon@samsung.com> 2013-03-08 11:45 diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index f550ae8..e9072c2 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,4 +1,4 @@ -Version:2.0.0 +Version:1.0.18 Maintainer:Woongsik Choi <woongsik76.choi@samsung.com>, Hyukmin Kwon <hyukmin0530.kwon@samsung.com>, Wooyoung Cho <wooyoung1.cho@samsung.com>, Yoonseok Ko <ys597.ko@samsung.com>, Jaeheung Kim <jaeheung.kim@samsung.com>, Sujin Kim <sujin921.kim@samsung.com> Source: assignmenttracing-eplugin |