From fda00f122cd4b34fbdb29fadbb42bd44505c4bba Mon Sep 17 00:00:00 2001 From: hyukmin kwon Date: Fri, 28 Jun 2013 18:36:52 +0900 Subject: Upload Tizen SDK 2.2 beta source --- .../assignmenttracing/ui/AssignmentTracingUI.java | 15 +++++++++------ package/changelog | 9 ++++++--- 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 2013-01-11 +* 1.0.18 +- Version up for Tizen 2.1 +== hyukmin0530.kwon 2013-03-19 12:04 +* 1.0.17 +- Synchronization to the tizen_2.0 branch +== hyukmin0530.kwon 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 , Hyukmin Kwon , Wooyoung Cho , Yoonseok Ko , Jaeheung Kim , Sujin Kim Source: assignmenttracing-eplugin -- cgit v1.2.3