Skip to content
Permalink
Browse files

fix bugs

Signed-off-by: 天空Blond <hurui200320@skyblond.info>
  • Loading branch information...
hurui200320 committed May 28, 2019
1 parent d99b14f commit 36c11172d20da51c3e84a916a9b1d95094a16351
Showing with 33 additions and 30 deletions.
  1. +29 −28 .idea/workspace.xml
  2. +4 −2 src/info/skyblond/Blake/Belladonna/Main.java
@@ -8,9 +8,7 @@
<component name="ChangeListManager">
<list default="true" id="994ca246-9976-4155-a447-9fa9b7da6bcc" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/message.html" beforeDir="false" afterPath="$PROJECT_DIR$/message.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/Main.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/Main.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/PropertiesUtils.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/PropertiesUtils.java" afterDir="false" />
</list>
<ignored path="$PROJECT_DIR$/out/" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@@ -24,8 +22,8 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="691">
<caret line="168" lean-forward="true" selection-start-line="168" selection-end-line="168" />
<state relative-caret-position="715">
<caret line="88" column="27" selection-start-line="88" selection-start-column="27" selection-end-line="88" selection-end-column="27" />
<folding>
<element signature="imports" expanded="true" />
</folding>
@@ -36,7 +34,7 @@
<file pinned="false" current-in-tab="false">
<entry file="jar://C:/Program Files/Java/jdk1.8.0_191/src.zip!/java/lang/String.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="60">
<state relative-caret-position="30866">
<caret line="1401" column="19" selection-start-line="1401" selection-start-column="19" selection-end-line="1401" selection-end-column="19" />
<folding>
<element signature="e#56437#56438#0" expanded="true" />
@@ -49,7 +47,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/PropertiesUtils.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="5589">
<state relative-caret-position="5497">
<caret line="243" column="36" selection-start-line="243" selection-start-column="36" selection-end-line="243" selection-end-column="36" />
<folding>
<element signature="imports" expanded="true" />
@@ -201,14 +199,17 @@
<workItem from="1552374439549" duration="58000" />
<workItem from="1552374861308" duration="12000" />
<workItem from="1553864911756" duration="3548000" />
<workItem from="1553872066479" duration="686000" />
<workItem from="1554189323121" duration="124000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="58970000" />
<option name="totallyTimeSpent" value="59780000" />
</component>
<component name="ToolWindowManager">
<frame x="54" y="-8" width="1874" height="1096" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Designer" order="0" />
<window_info id="UI Designer" order="1" />
@@ -402,58 +403,58 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/Messages.java">
<entry file="file://$PROJECT_DIR$/belladonna.properties">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1702">
<caret line="83" column="43" selection-start-line="83" selection-start-column="43" selection-end-line="83" selection-end-column="43" />
<folding>
<element signature="imports" expanded="true" />
</folding>
<state relative-caret-position="138">
<caret line="6" column="15" selection-start-line="6" selection-start-column="15" selection-end-line="6" selection-end-column="15" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/Share.java">
<entry file="file://$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="184">
<caret line="13" selection-start-line="13" selection-end-line="13" />
<state relative-caret-position="715">
<caret line="88" column="27" selection-start-line="88" selection-start-column="27" selection-end-line="88" selection-end-column="27" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/belladonna.properties">
<entry file="jar://C:/Program Files/Java/jdk1.8.0_191/src.zip!/java/lang/String.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="138">
<caret line="6" column="15" selection-start-line="6" selection-start-column="15" selection-end-line="6" selection-end-column="15" />
<state relative-caret-position="30866">
<caret line="1401" column="19" selection-start-line="1401" selection-start-column="19" selection-end-line="1401" selection-end-column="19" />
<folding>
<element signature="e#56437#56438#0" expanded="true" />
<element signature="e#56514#56515#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/PropertiesUtils.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="5589">
<state relative-caret-position="5497">
<caret line="243" column="36" selection-start-line="243" selection-start-column="36" selection-end-line="243" selection-end-column="36" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="jar://C:/Program Files/Java/jdk1.8.0_191/src.zip!/java/lang/String.java">
<entry file="file://$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/Messages.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="60">
<caret line="1401" column="19" selection-start-line="1401" selection-start-column="19" selection-end-line="1401" selection-end-column="19" />
<state relative-caret-position="1702">
<caret line="83" column="43" selection-start-line="83" selection-start-column="43" selection-end-line="83" selection-end-column="43" />
<folding>
<element signature="e#56437#56438#0" expanded="true" />
<element signature="e#56514#56515#0" expanded="true" />
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/Main.java">
<entry file="file://$PROJECT_DIR$/src/info/skyblond/Blake/Belladonna/Share.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="691">
<caret line="168" lean-forward="true" selection-start-line="168" selection-end-line="168" />
<state relative-caret-position="184">
<caret line="13" selection-start-line="13" selection-end-line="13" />
<folding>
<element signature="imports" expanded="true" />
</folding>
@@ -78,9 +78,11 @@ public static void main(String[] args) {
}else if(isRaw || s.startsWith("#!&$<")){
isRaw = true;
if(s.startsWith("#!&$<"))
sb.append(s.substring(5) + "\n");
if(s.length() > 5)
sb.append(s.substring(5) + "\n");
else if(s.contains("&!>")){
sb.append(s.split("&!>")[0] + "\n");
if(s.split("&!>")[0] != null)
sb.append(s.split("&!>")[0] + "\n");
isRaw = false;
}else
sb.append(s + "\n");

0 comments on commit 36c1117

Please sign in to comment.
You can’t perform that action at this time.