Compare commits
33 Commits
keyboard_f
...
master
Author | SHA1 | Date | |
---|---|---|---|
a500092625 | |||
05e3600504 | |||
0b24c89307 | |||
f8491fefdb | |||
4885aa9df6 | |||
0dd894a777 | |||
01e7a2674c | |||
8838fbd5a9 | |||
ddd99e48e5 | |||
b4da74dea1 | |||
24e7fc5904 | |||
6ef85c45b5 | |||
2c55929f9f | |||
e45665ece1 | |||
97f1be558b | |||
2ee5a8e904 | |||
c56b0f8054 | |||
7a6d0d3eba | |||
ef533e6e44 | |||
23d09e05c9 | |||
a35d95b799 | |||
39c7dd956c | |||
12c539738a | |||
68e8c4235a | |||
b7f84409db | |||
79d6cb6172 | |||
c1d658ffb1 | |||
a3624e6b2e | |||
cd20b586f1 | |||
02492c8d83 | |||
871b2cfc11 | |||
401814cb22 | |||
0269d9c210 |
25
.fdroid.yml
Normal file
@ -0,0 +1,25 @@
|
||||
Categories:
|
||||
- Writing
|
||||
License: GPL-3.0-or-later
|
||||
WebSite: https://github.com/adrianmalacoda/text-editor-8000
|
||||
SourceCode: https://github.com/adrianmalacoda/text-editor-8000
|
||||
IssueTracker: https://github.com/adrianmalacoda/text-editor-8000/issues
|
||||
|
||||
AutoName: Text Editor 8000
|
||||
Summary: Simple text editor
|
||||
Description: Simple, yet powerful editor for text files.
|
||||
|
||||
RepoType: git
|
||||
Repo: .
|
||||
|
||||
builds:
|
||||
- versionName: "1.20"
|
||||
versionCode: 48
|
||||
commit: HEAD
|
||||
subdir: app
|
||||
gradle: yes
|
||||
|
||||
AutoUpdateMode: None
|
||||
UpdateCheckMode: RepoManifest
|
||||
CurrentVersion: 1.20
|
||||
CurrentVersion Code: 48
|
10
.gitlab-ci.yml
Normal file
@ -0,0 +1,10 @@
|
||||
image: fdroidbuild:latest
|
||||
|
||||
build-apk:
|
||||
script:
|
||||
- fdroid build
|
||||
- fdroid nightly
|
||||
artifacts:
|
||||
paths:
|
||||
- unsigned/*.apk
|
||||
- unsigned/*.tar.gz
|
66
README.md
@ -1,62 +1,14 @@
|
||||
# Turbo Editor
|
||||
[](https://crowdin.com/project/turbo-client)
|
||||
# Text Editor 8000
|
||||
Text editor for Android. Forked from [Turbo Editor](https://github.com/vmihalachi/turbo-editor) by Vlad Mihalachi.
|
||||
|
||||
Simple, powerful and Open Source text editor for Android licensed under the GPLv3 license.
|
||||
Currently this fork includes a fix for hardware keyboards, as well as an updated [CommonMark](http://commonmark.org/) Markdown renderer.
|
||||
|
||||
### Download
|
||||
[](http://play.google.com/store/apps/details?id=com.maskyn.fileeditorpro)
|
||||
## Notice
|
||||
This project undergoes sporadic bursts of activity. There's no timeframe for a release, and stuff gets worked on when it gets worked on.
|
||||
|
||||
[](https://f-droid.org/repository/browse/?fdid=com.maskyn.fileeditorpro)
|
||||
The general policy is that master is always buildable and should run fine, but there's no guarantees.
|
||||
|
||||
### Contribute
|
||||
You can contribute to this project in many ways:
|
||||
* Browse our issues, comment on proposals, report bugs.
|
||||
* Help to translate the application on [Crowdin][crowdin]
|
||||
* Be a part of the Google Plus [Community][community googleplus]
|
||||
* Discuss with us on [XDA thread][xda thread]
|
||||
* Help to maintain this project active and [Donate][donate]
|
||||
Also, [build artifacts](https://gitlab.monarch-pass.net/malacoda/text-editor-8000/-/jobs/artifacts/master/download?job=build-apk) from master are available on the Monarch Pass GitLab. Note that as of now these builds are not signed so you'll need to sign them yourself before installing them. Use at your own risk!
|
||||
|
||||
------
|
||||
|
||||
###Donate
|
||||
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=26VWS2TSAMUJA)
|
||||
|
||||
[](https://flattr.com/submit/auto?user_id=vmihalachi&url=https://github.com/vmihalachi/turbo-editor&title=Turbo Editor&language=java&tags=github&category=software)
|
||||
|
||||
------
|
||||
|
||||
###Images
|
||||

|
||||
------
|
||||
|
||||
### Developer
|
||||
[Vlad Mihalachi][developer site]
|
||||
|
||||
------
|
||||
|
||||
### A special thanks to..
|
||||
* [Dumitru Grubii][contributor dumitru grubii] for the icon
|
||||
* All the translators
|
||||
* [Howard C. Shaw III][contributor howard] for the Word count feature
|
||||
* You?
|
||||
|
||||
------
|
||||
|
||||
### License
|
||||
Turbo Client is made available under the terms of the [GPLv3][gplv3].
|
||||
|
||||
See the [LICENSE][license] file that accompanies this distribution for the full text of the license.
|
||||
|
||||
[gplv3]: http://www.gnu.org/licenses/gpl.html
|
||||
[license]: https://github.com/vmihalachi/turbo-editor/LICENSE
|
||||
[donate]: https://github.com/vmihalachi/turbo-editor#donate
|
||||
[donate paypal]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PUQXSX6MTXHZ2
|
||||
[xda thread]: http://forum.xda-developers.com/android/apps-games/app-turbo-editor-text-editor-t2832016
|
||||
[community googleplus]: https://plus.google.com/u/0/communities/111974095419108178946
|
||||
[crowdin]: https://crowdin.net/project/turbo-client
|
||||
[developer site]: http://vmihalachi.com/
|
||||
[crowdin]: https://crowdin.net/project/turbo-client
|
||||
[contributor dumitru grubii]: https://twitter.com/DumitruGrubii
|
||||
[contributor howard]: https://plus.google.com/+HowardCShawIII
|
||||
[project issues]: https://github.com/vmihalachi/turbo-editor/issues
|
||||
[project wiki]: https://github.com/vmihalachi/turbo-editor/wiki
|
||||
## License
|
||||
GNU General Public License version 3, see [LICENSE](./license).
|
||||
|
2
app-pro/.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
/build
|
||||
manifest-merger-release-report.txt
|
@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import java.util.regex.Pattern
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion '22.0.1'
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.maskyn.fileeditorpro"
|
||||
minSdkVersion 11
|
||||
targetSdkVersion 22
|
||||
versionCode 47
|
||||
versionName "1.19"
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_7
|
||||
targetCompatibility JavaVersion.VERSION_1_7
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
}
|
||||
packagingOptions {
|
||||
exclude 'META-INF/LICENSE.txt'
|
||||
exclude 'META-INF/NOTICE.txt'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
compile project(':libraries:sharedCode')
|
||||
}
|
||||
|
||||
task incrementVersionCode << {
|
||||
println(":incrementVersionCode - Incrementing Version Code...")
|
||||
def buildGradleFile = file("build.gradle")
|
||||
def patternVersionCode = Pattern.compile("versionCode (\\d+)")
|
||||
def buildGradleFileText = buildGradleFile.getText()
|
||||
def matcherVersionCode = patternVersionCode.matcher(buildGradleFileText)
|
||||
matcherVersionCode.find()
|
||||
def mVersionCode = Integer.parseInt(matcherVersionCode.group(1))
|
||||
def mNextVersionCode = mVersionCode + 1
|
||||
def manifestContent = matcherVersionCode.replaceAll("versionCode " + mNextVersionCode)
|
||||
println(":incrementVersionCode - current versionCode=" + mVersionCode);
|
||||
println(":incrementVersionCode - next versionCode=" + mNextVersionCode);
|
||||
buildGradleFile.write(manifestContent)
|
||||
}
|
17
app-pro/proguard-rules.pro
vendored
@ -1,17 +0,0 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in C:/Users/Vlad/AppData/Local/Android/android-sdk/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the proguardFiles
|
||||
# directive in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
@ -1,160 +0,0 @@
|
||||
<!--
|
||||
~ Copyright (C) 2014 Vlad Mihalachi
|
||||
~
|
||||
~ This file is part of Turbo Editor.
|
||||
~
|
||||
~ Turbo Editor is free software: you can redistribute it and/or modify
|
||||
~ it under the terms of the GNU General Public License as published by
|
||||
~ the Free Software Foundation, either version 3 of the License, or
|
||||
~ (at your option) any later version.
|
||||
~
|
||||
~ Turbo Editor is distributed in the hope that it will be useful,
|
||||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
~ GNU General Public License for more details.
|
||||
~
|
||||
~ You should have received a copy of the GNU General Public License
|
||||
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.maskyn.fileeditorpro"
|
||||
android:installLocation="auto">
|
||||
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
|
||||
<supports-screens
|
||||
android:anyDensity="true"
|
||||
android:largeScreens="true"
|
||||
android:normalScreens="true"
|
||||
android:resizeable="true"
|
||||
android:smallScreens="true"
|
||||
android:xlargeScreens="true" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/nome_app_turbo_editor"
|
||||
android:hardwareAccelerated="true"
|
||||
android:largeHeap="true"
|
||||
android:supportsRtl="true"
|
||||
android:name="sharedcode.turboeditor.application.MyApp"
|
||||
>
|
||||
|
||||
<!-- android:alwaysRetainTaskState="true" -->
|
||||
|
||||
<activity
|
||||
android:name=".HomeActivity"
|
||||
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
|
||||
android:launchMode="singleTop"
|
||||
android:windowSoftInputMode="stateUnspecified|adjustResize"
|
||||
android:theme="@style/AppThemeEditorDark">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="file" />
|
||||
<data android:mimeType="*/*" />
|
||||
<data android:host="*" />
|
||||
<data android:pathPattern=".*\\.txt" />
|
||||
<data android:pathPattern=".*\\.html" />
|
||||
<data android:pathPattern=".*\\.xml" />
|
||||
<data android:pathPattern=".*\\.css" />
|
||||
<data android:pathPattern=".*\\.js" />
|
||||
<data android:pathPattern=".*\\.md"/>
|
||||
<data android:pathPattern=".*\\.markdown"/>
|
||||
<data android:pathPattern=".*\\.php" />
|
||||
<data android:pathPattern=".*\\.py" />
|
||||
<data android:pathPattern=".*\\.script" />
|
||||
<data android:pathPattern=".*\\.cs" />
|
||||
<data android:pathPattern=".*\\.java" />
|
||||
<data android:pathPattern=".*\\.rb" />
|
||||
<data android:pathPattern=".*\\.aspx" />
|
||||
<data android:pathPattern=".*\\.cshtml" />
|
||||
<data android:pathPattern=".*\\.vbhtml" />
|
||||
<data android:pathPattern=".*\\.go" />
|
||||
<data android:pathPattern=".*\\.c" />
|
||||
<data android:pathPattern=".*\\.h" />
|
||||
<data android:pathPattern=".*\\.cc" />
|
||||
<data android:pathPattern=".*\\.cpp" />
|
||||
<data android:pathPattern=".*\\.hh" />
|
||||
<data android:pathPattern=".*\\.hpp" />
|
||||
<data android:pathPattern=".*\\.pl" />
|
||||
<data android:pathPattern=".*\\.pm" />
|
||||
<data android:pathPattern=".*\\.t" />
|
||||
<data android:pathPattern=".*\\.pod" />
|
||||
<data android:pathPattern=".*\\.m" />
|
||||
<data android:pathPattern=".*\\.f" />
|
||||
<data android:pathPattern=".*\\.for" />
|
||||
<data android:pathPattern=".*\\.f90" />
|
||||
<data android:pathPattern=".*\\.f95" />
|
||||
<data android:pathPattern=".*\\.asp" />
|
||||
<data android:pathPattern=".*\\.json" />
|
||||
<data android:pathPattern=".*\\.wiki" />
|
||||
<data android:pathPattern=".*\\.lua" />
|
||||
<data android:pathPattern=".*\\.r" />
|
||||
<data android:pathPattern=".*\\.key" />
|
||||
<data android:pathPattern=".*\\.log" />
|
||||
</intent-filter>
|
||||
<intent-filter >
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<data android:scheme="file" />
|
||||
<data android:mimeType="text/*" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEND" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<data android:mimeType="text/plain" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="sharedcode.turboeditor.activity.SelectFileActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:label="@string/open_a_file"
|
||||
android:exported="true"
|
||||
android:parentActivityName=".HomeActivity"
|
||||
android:theme="@style/AppThemeBaseLight">
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value=".HomeActivity" />
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.GET_CONTENT" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.OPENABLE" />
|
||||
|
||||
<data android:mimeType="*/*" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<meta-data
|
||||
android:name="com.sec.android.support.multiwindow"
|
||||
android:value="true" />
|
||||
<meta-data
|
||||
android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W"
|
||||
android:value="632.0dip" />
|
||||
<meta-data
|
||||
android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H"
|
||||
android:value="598.0dip" />
|
||||
<meta-data
|
||||
android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W"
|
||||
android:value="632.0dip" />
|
||||
<meta-data
|
||||
android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H"
|
||||
android:value="598.0dip" />
|
||||
|
||||
<activity android:name="sharedcode.turboeditor.activity.MarkdownActivity" />
|
||||
|
||||
</application>
|
||||
|
||||
</manifest>
|
@ -1,14 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2016 Adrian Malacoda
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -19,38 +20,24 @@
|
||||
|
||||
import java.util.regex.Pattern
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url 'https://maven.fabric.io/repo' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'io.fabric.tools:gradle:1.+'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'io.fabric'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url 'https://maven.fabric.io/repo' }
|
||||
}
|
||||
|
||||
|
||||
|
||||
android {
|
||||
lintOptions {
|
||||
disable 'MissingTranslation', 'ExtraTranslation'
|
||||
}
|
||||
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion '22.0.1'
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.maskyn.fileeditor"
|
||||
minSdkVersion 11
|
||||
applicationId "net.monarchpass.android.texteditor8000"
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 22
|
||||
versionCode 47
|
||||
versionName "1.19"
|
||||
versionCode 48
|
||||
versionName "1.20"
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_7
|
||||
targetCompatibility JavaVersion.VERSION_1_7
|
||||
@ -71,12 +58,19 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: '*.jar')
|
||||
compile project(':libraries:sharedCode')
|
||||
//compile 'com.google.android.gms:play-services-ads:6.5.+'
|
||||
compile('com.crashlytics.sdk.android:crashlytics:2.+@aar') {
|
||||
transitive = true;
|
||||
//compile 'com.spazedog.lib:rootfw_gen4:+@aar'
|
||||
compile project(':libraries:FloatingActionButton')
|
||||
compile 'org.apache.commons:commons-lang3:+'
|
||||
compile 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3'
|
||||
compile('com.android.support:appcompat-v7:22.+') {
|
||||
exclude group: 'com.android.support', module: 'support-v4'
|
||||
}
|
||||
compile 'com.android.support:support-v4:22.+'
|
||||
compile 'com.github.gabrielemariotti.changeloglib:library:+'
|
||||
compile 'commons-io:commons-io:2.4'
|
||||
compile 'com.android.support:support-annotations:+'
|
||||
compile 'com.atlassian.commonmark:commonmark:0.11.0'
|
||||
}
|
||||
|
||||
task incrementVersionCode << {
|
||||
@ -92,4 +86,4 @@ task incrementVersionCode << {
|
||||
println(":incrementVersionCode - current versionCode=" + mVersionCode);
|
||||
println(":incrementVersionCode - next versionCode=" + mNextVersionCode);
|
||||
buildGradleFile.write(manifestContent)
|
||||
}
|
||||
}
|
||||
|
0
app/private/cache/retriever/catalog.xml
vendored
Normal file
2
app/proguard-rules.pro
vendored
@ -1,6 +1,6 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in C:\Users\Vlad\AppData\Local\Android\android-sdk/tools/proguard/proguard-android.txt
|
||||
# in C:/Users/Vlad/AppData/Local/Android/android-sdk/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the proguardFiles
|
||||
# directive in build.gradle.
|
||||
#
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
@ -1,32 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.maskyn.fileeditor;
|
||||
|
||||
import android.app.Application;
|
||||
import android.test.ApplicationTestCase;
|
||||
|
||||
/**
|
||||
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
|
||||
*/
|
||||
public class ApplicationTest extends ApplicationTestCase<Application> {
|
||||
public ApplicationTest() {
|
||||
super(Application.class);
|
||||
}
|
||||
}
|
@ -1,15 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2014 Vlad Mihalachi
|
||||
~
|
||||
~ This file is part of Turbo Editor.
|
||||
~ This file is part of Text Editor 8000.
|
||||
~
|
||||
~ Turbo Editor is free software: you can redistribute it and/or modify
|
||||
~ Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
~ it under the terms of the GNU General Public License as published by
|
||||
~ the Free Software Foundation, either version 3 of the License, or
|
||||
~ (at your option) any later version.
|
||||
~
|
||||
~ Turbo Editor is distributed in the hope that it will be useful,
|
||||
~ Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
~ GNU General Public License for more details.
|
||||
@ -19,12 +18,11 @@
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.maskyn.fileeditor"
|
||||
package="com.maskyn.fileeditorpro"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:installLocation="auto">
|
||||
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
|
||||
<supports-screens
|
||||
android:anyDensity="true"
|
||||
@ -41,13 +39,12 @@
|
||||
android:hardwareAccelerated="true"
|
||||
android:largeHeap="true"
|
||||
android:supportsRtl="true"
|
||||
android:name="sharedcode.turboeditor.application.MyApp"
|
||||
android:name="com.maskyn.fileeditorpro.application.MyApp"
|
||||
tools:replace="android:label"
|
||||
>
|
||||
|
||||
<!-- android:alwaysRetainTaskState="true" -->
|
||||
|
||||
<!--<meta-data android:name="com.google.android.gms.version"
|
||||
android:value="@integer/google_play_services_version"/>-->
|
||||
<activity
|
||||
android:name=".HomeActivity"
|
||||
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
|
||||
@ -71,18 +68,49 @@
|
||||
<data android:host="*" />
|
||||
<data android:pathPattern=".*\\.txt" />
|
||||
<data android:pathPattern=".*\\.html" />
|
||||
<data android:pathPattern=".*\\.xml" />
|
||||
<data android:pathPattern=".*\\.css" />
|
||||
<data android:pathPattern=".*\\.js" />
|
||||
<data android:pathPattern=".*\\.md"/>
|
||||
<data android:pathPattern=".*\\.markdown"/>
|
||||
<data android:pathPattern=".*\\.php" />
|
||||
<data android:pathPattern=".*\\.py" />
|
||||
<data android:pathPattern=".*\\.org" />
|
||||
<data android:pathPattern=".*\\.script" />
|
||||
<data android:pathPattern=".*\\.cs" />
|
||||
<data android:pathPattern=".*\\.java" />
|
||||
<data android:pathPattern=".*\\.rb" />
|
||||
<data android:pathPattern=".*\\.aspx" />
|
||||
<data android:pathPattern=".*\\.cshtml" />
|
||||
<data android:pathPattern=".*\\.vbhtml" />
|
||||
<data android:pathPattern=".*\\.go" />
|
||||
<data android:pathPattern=".*\\.c" />
|
||||
<data android:pathPattern=".*\\.h" />
|
||||
<data android:pathPattern=".*\\.cc" />
|
||||
<data android:pathPattern=".*\\.cpp" />
|
||||
<data android:pathPattern=".*\\.hh" />
|
||||
<data android:pathPattern=".*\\.hpp" />
|
||||
<data android:pathPattern=".*\\.pl" />
|
||||
<data android:pathPattern=".*\\.pm" />
|
||||
<data android:pathPattern=".*\\.t" />
|
||||
<data android:pathPattern=".*\\.pod" />
|
||||
<data android:pathPattern=".*\\.m" />
|
||||
<data android:pathPattern=".*\\.f" />
|
||||
<data android:pathPattern=".*\\.for" />
|
||||
<data android:pathPattern=".*\\.f90" />
|
||||
<data android:pathPattern=".*\\.f95" />
|
||||
<data android:pathPattern=".*\\.asp" />
|
||||
<data android:pathPattern=".*\\.json" />
|
||||
<data android:pathPattern=".*\\.wiki" />
|
||||
<data android:pathPattern=".*\\.lua" />
|
||||
<data android:pathPattern=".*\\.r" />
|
||||
<data android:pathPattern=".*\\.key" />
|
||||
<data android:pathPattern=".*\\.log" />
|
||||
</intent-filter>
|
||||
<intent-filter >
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<data android:scheme="file" />
|
||||
<data android:mimeType="text/plain" />
|
||||
<data android:mimeType="text/*" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEND" />
|
||||
@ -91,15 +119,26 @@
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="sharedcode.turboeditor.activity.SelectFileActivity"
|
||||
android:name="com.maskyn.fileeditorpro.activity.SelectFileActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:label="@string/open_a_file"
|
||||
android:exported="true"
|
||||
android:parentActivityName=".HomeActivity"
|
||||
android:theme="@style/AppThemeBaseLight">
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value=".HomeActivity" />
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value=".HomeActivity" />
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.GET_CONTENT" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.OPENABLE" />
|
||||
|
||||
<data android:mimeType="*/*" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<meta-data
|
||||
android:name="com.sec.android.support.multiwindow"
|
||||
android:value="true" />
|
||||
@ -116,10 +155,8 @@
|
||||
android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H"
|
||||
android:value="598.0dip" />
|
||||
|
||||
<activity android:name="sharedcode.turboeditor.activity.MarkdownActivity" />
|
||||
<!--<activity android:name="com.google.android.gms.ads.AdActivity"
|
||||
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>-->
|
||||
<meta-data android:name="com.crashlytics.ApiKey" android:value="672ab7531ce1e2e83c2ec6d84e8e94f2fa692c2a"/>
|
||||
<activity android:name="com.maskyn.fileeditorpro.activity.MarkdownActivity" />
|
||||
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
|
@ -109,4 +109,4 @@ a, a:visited {
|
||||
color: #4183C4;
|
||||
background-color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.maskyn.fileeditor;
|
||||
|
||||
import android.app.Activity;
|
||||
|
||||
/*import com.google.android.gms.ads.AdRequest;
|
||||
import com.google.android.gms.ads.InterstitialAd;*/
|
||||
|
||||
public class AdsHelper {
|
||||
//private InterstitialAd interstitial;
|
||||
|
||||
public AdsHelper(Activity activity) {
|
||||
|
||||
/*interstitial = new InterstitialAd(activity);
|
||||
interstitial.setAdUnitId("ca-app-pub-5679083452234719/7178038180");
|
||||
|
||||
// Create ad request.
|
||||
AdRequest adRequest = new AdRequest.Builder().build();
|
||||
|
||||
// Begin loading your interstitial.
|
||||
interstitial.loadAd(adRequest);*/
|
||||
}
|
||||
|
||||
public void displayInterstitial() {
|
||||
//interstitial.show();
|
||||
}
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.maskyn.fileeditor;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
import com.crashlytics.android.Crashlytics;
|
||||
|
||||
import io.fabric.sdk.android.Fabric;
|
||||
import sharedcode.turboeditor.activity.MainActivity;
|
||||
|
||||
public class HomeActivity extends MainActivity {
|
||||
|
||||
private AdsHelper adsHelper;
|
||||
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
if(sharedcode.turboeditor.preferences.PreferenceHelper.getSendErrorReports(this))
|
||||
Fabric.with(this, new Crashlytics());
|
||||
// setup the ads
|
||||
if(!sharedcode.turboeditor.util.ProCheckUtils.isPro(this))
|
||||
adsHelper = new AdsHelper(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean showInterstitial() {
|
||||
if(adsHelper != null && !sharedcode.turboeditor.util.ProCheckUtils.isPro(this)) {
|
||||
adsHelper.displayInterstitial();
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -19,7 +19,7 @@
|
||||
|
||||
package com.maskyn.fileeditorpro;
|
||||
|
||||
import sharedcode.turboeditor.activity.MainActivity;
|
||||
import com.maskyn.fileeditorpro.activity.MainActivity;
|
||||
|
||||
public class HomeActivity extends MainActivity {
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.activity;
|
||||
package com.maskyn.fileeditorpro.activity;
|
||||
|
||||
import android.app.ProgressDialog;
|
||||
import android.content.ActivityNotFoundException;
|
||||
@ -88,39 +88,38 @@ import java.util.List;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.adapter.AdapterDrawer;
|
||||
import sharedcode.turboeditor.dialogfragment.ChangelogDialog;
|
||||
import sharedcode.turboeditor.dialogfragment.EditTextDialog;
|
||||
import sharedcode.turboeditor.dialogfragment.FileInfoDialog;
|
||||
import sharedcode.turboeditor.dialogfragment.FindTextDialog;
|
||||
import sharedcode.turboeditor.dialogfragment.NewFileDetailsDialog;
|
||||
import sharedcode.turboeditor.dialogfragment.NumberPickerDialog;
|
||||
import sharedcode.turboeditor.dialogfragment.SaveFileDialog;
|
||||
import sharedcode.turboeditor.preferences.PreferenceChangeType;
|
||||
import sharedcode.turboeditor.preferences.PreferenceHelper;
|
||||
import sharedcode.turboeditor.task.SaveFileTask;
|
||||
import sharedcode.turboeditor.texteditor.EditTextPadding;
|
||||
import sharedcode.turboeditor.texteditor.FileUtils;
|
||||
import sharedcode.turboeditor.texteditor.LineUtils;
|
||||
import sharedcode.turboeditor.texteditor.PageSystem;
|
||||
import sharedcode.turboeditor.texteditor.PageSystemButtons;
|
||||
import sharedcode.turboeditor.texteditor.Patterns;
|
||||
import sharedcode.turboeditor.texteditor.SearchResult;
|
||||
import sharedcode.turboeditor.util.AccessStorageApi;
|
||||
import sharedcode.turboeditor.util.AccessoryView;
|
||||
import sharedcode.turboeditor.util.AnimationUtils;
|
||||
import sharedcode.turboeditor.util.AppInfoHelper;
|
||||
import sharedcode.turboeditor.util.Device;
|
||||
import sharedcode.turboeditor.util.GreatUri;
|
||||
import sharedcode.turboeditor.util.IHomeActivity;
|
||||
import sharedcode.turboeditor.util.MimeTypes;
|
||||
import sharedcode.turboeditor.util.ProCheckUtils;
|
||||
import sharedcode.turboeditor.util.ThemeUtils;
|
||||
import sharedcode.turboeditor.util.ViewUtils;
|
||||
import sharedcode.turboeditor.views.CustomDrawerLayout;
|
||||
import sharedcode.turboeditor.views.DialogHelper;
|
||||
import sharedcode.turboeditor.views.GoodScrollView;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.adapter.AdapterDrawer;
|
||||
import com.maskyn.fileeditorpro.dialogfragment.ChangelogDialog;
|
||||
import com.maskyn.fileeditorpro.dialogfragment.EditTextDialog;
|
||||
import com.maskyn.fileeditorpro.dialogfragment.FileInfoDialog;
|
||||
import com.maskyn.fileeditorpro.dialogfragment.FindTextDialog;
|
||||
import com.maskyn.fileeditorpro.dialogfragment.NewFileDetailsDialog;
|
||||
import com.maskyn.fileeditorpro.dialogfragment.NumberPickerDialog;
|
||||
import com.maskyn.fileeditorpro.dialogfragment.SaveFileDialog;
|
||||
import com.maskyn.fileeditorpro.preferences.PreferenceChangeType;
|
||||
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
|
||||
import com.maskyn.fileeditorpro.task.SaveFileTask;
|
||||
import com.maskyn.fileeditorpro.texteditor.EditTextPadding;
|
||||
import com.maskyn.fileeditorpro.texteditor.FileUtils;
|
||||
import com.maskyn.fileeditorpro.texteditor.LineUtils;
|
||||
import com.maskyn.fileeditorpro.texteditor.PageSystem;
|
||||
import com.maskyn.fileeditorpro.texteditor.PageSystemButtons;
|
||||
import com.maskyn.fileeditorpro.texteditor.Patterns;
|
||||
import com.maskyn.fileeditorpro.texteditor.SearchResult;
|
||||
import com.maskyn.fileeditorpro.util.AccessStorageApi;
|
||||
import com.maskyn.fileeditorpro.util.AccessoryView;
|
||||
import com.maskyn.fileeditorpro.util.AnimationUtils;
|
||||
import com.maskyn.fileeditorpro.util.AppInfoHelper;
|
||||
import com.maskyn.fileeditorpro.util.Device;
|
||||
import com.maskyn.fileeditorpro.util.GreatUri;
|
||||
import com.maskyn.fileeditorpro.util.IHomeActivity;
|
||||
import com.maskyn.fileeditorpro.util.MimeTypes;
|
||||
import com.maskyn.fileeditorpro.util.ThemeUtils;
|
||||
import com.maskyn.fileeditorpro.util.ViewUtils;
|
||||
import com.maskyn.fileeditorpro.views.CustomDrawerLayout;
|
||||
import com.maskyn.fileeditorpro.views.DialogHelper;
|
||||
import com.maskyn.fileeditorpro.views.GoodScrollView;
|
||||
|
||||
public abstract class MainActivity extends ActionBarActivity implements IHomeActivity, FindTextDialog
|
||||
.SearchDialogInterface, GoodScrollView.ScrollInterface, PageSystem.PageSystemInterface,
|
||||
@ -469,11 +468,6 @@ public abstract class MainActivity extends ActionBarActivity implements IHomeAct
|
||||
}
|
||||
}
|
||||
|
||||
MenuItem imDonate = menu.findItem(R.id.im_donate);
|
||||
if (imDonate != null)
|
||||
if (ProCheckUtils.isPro(this, false))
|
||||
imDonate.setVisible(false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
* Copyright (C) 2018 Adrian Malacoda
|
||||
*
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.maskyn.fileeditorpro.activity;
|
||||
|
||||
import android.content.Context;
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
import android.view.Window;
|
||||
import android.webkit.WebView;
|
||||
|
||||
import org.commonmark.node.Node;
|
||||
import org.commonmark.parser.Parser;
|
||||
import org.commonmark.renderer.html.HtmlRenderer;
|
||||
|
||||
public class MarkdownActivity extends Activity {
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||
MarkdownView webView = new MarkdownView(this);
|
||||
setContentView(webView);
|
||||
webView.loadMarkdown(getIntent().getStringExtra("text"), "file:///android_asset/classic_theme_markdown.css");
|
||||
}
|
||||
|
||||
private static class MarkdownView extends WebView {
|
||||
private static final String CSS_LINK = "<link rel='stylesheet' type='text/css' href='%s'>";
|
||||
private final Parser parser;
|
||||
private final HtmlRenderer renderer;
|
||||
|
||||
MarkdownView (Context context) {
|
||||
super(context);
|
||||
parser = Parser.builder().build();
|
||||
renderer = HtmlRenderer.builder().build();
|
||||
}
|
||||
|
||||
public void loadMarkdown(String content, String cssUri) {
|
||||
String html = String.format(CSS_LINK, cssUri);
|
||||
html = html += renderer.render(parser.parse(content));
|
||||
loadDataWithBaseURL(null, html, "text/html", null, null);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.activity;
|
||||
package com.maskyn.fileeditorpro.activity;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
@ -51,13 +51,13 @@ import java.util.Arrays;
|
||||
import java.util.Comparator;
|
||||
import java.util.LinkedList;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.adapter.AdapterDetailedList;
|
||||
import sharedcode.turboeditor.dialogfragment.EditTextDialog;
|
||||
import sharedcode.turboeditor.preferences.PreferenceHelper;
|
||||
import sharedcode.turboeditor.util.AlphanumComparator;
|
||||
import sharedcode.turboeditor.util.Build;
|
||||
import sharedcode.turboeditor.util.ThemeUtils;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.adapter.AdapterDetailedList;
|
||||
import com.maskyn.fileeditorpro.dialogfragment.EditTextDialog;
|
||||
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
|
||||
import com.maskyn.fileeditorpro.util.AlphanumComparator;
|
||||
import com.maskyn.fileeditorpro.util.Build;
|
||||
import com.maskyn.fileeditorpro.util.ThemeUtils;
|
||||
|
||||
public class SelectFileActivity extends ActionBarActivity implements SearchView.OnQueryTextListener, AdapterView.OnItemClickListener, EditTextDialog.EditDialogListener {
|
||||
private String currentFolder;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.adapter;
|
||||
package com.maskyn.fileeditorpro.adapter;
|
||||
|
||||
import android.content.Context;
|
||||
import android.text.TextUtils;
|
||||
@ -34,8 +34,8 @@ import org.apache.commons.io.FilenameUtils;
|
||||
import java.util.Arrays;
|
||||
import java.util.LinkedList;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.util.MimeTypes;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.util.MimeTypes;
|
||||
|
||||
public class AdapterDetailedList extends
|
||||
ArrayAdapter<AdapterDetailedList.FileDetail> {
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.adapter;
|
||||
package com.maskyn.fileeditorpro.adapter;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Typeface;
|
||||
@ -31,8 +31,8 @@ import android.widget.TextView;
|
||||
|
||||
import java.util.LinkedList;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.util.GreatUri;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.util.GreatUri;
|
||||
|
||||
public class AdapterDrawer extends
|
||||
ArrayAdapter<GreatUri> {
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.adapter;
|
||||
package com.maskyn.fileeditorpro.adapter;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.LayoutInflater;
|
||||
@ -26,7 +26,7 @@ import android.view.ViewGroup;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.TextView;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
|
||||
public class AdapterTwoItem extends
|
||||
ArrayAdapter<String> {
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.application;
|
||||
package com.maskyn.fileeditorpro.application;
|
||||
|
||||
import android.app.Application;
|
||||
import android.view.ViewConfiguration;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.dialogfragment;
|
||||
package com.maskyn.fileeditorpro.dialogfragment;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
@ -30,8 +30,8 @@ import android.os.Bundle;
|
||||
import android.text.Html;
|
||||
import android.view.View;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.views.DialogHelper;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.views.DialogHelper;
|
||||
|
||||
/**
|
||||
* Dialog fragment that shows some info about this application.
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.dialogfragment;
|
||||
package com.maskyn.fileeditorpro.dialogfragment;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
@ -27,14 +27,11 @@ import android.app.FragmentManager;
|
||||
import android.app.FragmentTransaction;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
|
||||
import it.gmariotti.changelibs.library.view.ChangeLogListView;
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.util.Build;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
|
||||
public class ChangelogDialog extends DialogFragment {
|
||||
|
||||
@ -66,25 +63,6 @@ public class ChangelogDialog extends DialogFragment {
|
||||
}
|
||||
}
|
||||
)
|
||||
.setPositiveButton(R.string.vota, new DialogInterface.OnClickListener() {
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void onClick(final DialogInterface dialog, final int which) {
|
||||
try {
|
||||
if (Build.FOR_AMAZON) {
|
||||
String url = "amzn://apps/android?p=com.maskyn.fileeditor";
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))
|
||||
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
|
||||
} else {
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=com.maskyn.fileeditor"))
|
||||
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
|
||||
}
|
||||
} catch (Exception e) {
|
||||
}
|
||||
}
|
||||
})
|
||||
.create();
|
||||
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.dialogfragment;
|
||||
package com.maskyn.fileeditorpro.dialogfragment;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
@ -31,8 +31,8 @@ import android.view.inputmethod.EditorInfo;
|
||||
import android.widget.EditText;
|
||||
import android.widget.TextView;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.views.DialogHelper;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.views.DialogHelper;
|
||||
|
||||
// ...
|
||||
public class EditTextDialog extends DialogFragment implements TextView.OnEditorActionListener {
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.dialogfragment;
|
||||
package com.maskyn.fileeditorpro.dialogfragment;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
@ -32,8 +32,8 @@ import android.widget.ListView;
|
||||
|
||||
import org.mozilla.universalchardet.Constants;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.preferences.PreferenceHelper;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
|
||||
|
||||
public class EncodingDialog extends DialogFragment implements AdapterView.OnItemClickListener {
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.dialogfragment;
|
||||
package com.maskyn.fileeditorpro.dialogfragment;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
@ -34,11 +34,11 @@ import org.apache.commons.io.FileUtils;
|
||||
import java.io.File;
|
||||
import java.util.Date;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.adapter.AdapterTwoItem;
|
||||
import sharedcode.turboeditor.util.AccessStorageApi;
|
||||
import sharedcode.turboeditor.util.Device;
|
||||
import sharedcode.turboeditor.views.DialogHelper;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.adapter.AdapterTwoItem;
|
||||
import com.maskyn.fileeditorpro.util.AccessStorageApi;
|
||||
import com.maskyn.fileeditorpro.util.Device;
|
||||
import com.maskyn.fileeditorpro.views.DialogHelper;
|
||||
|
||||
// ...
|
||||
public class FileInfoDialog extends DialogFragment {
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.dialogfragment;
|
||||
package com.maskyn.fileeditorpro.dialogfragment;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
@ -36,9 +36,9 @@ import java.util.LinkedList;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.texteditor.SearchResult;
|
||||
import sharedcode.turboeditor.views.DialogHelper;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.texteditor.SearchResult;
|
||||
import com.maskyn.fileeditorpro.views.DialogHelper;
|
||||
|
||||
// ...
|
||||
public class FindTextDialog extends DialogFragment {
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.dialogfragment;
|
||||
package com.maskyn.fileeditorpro.dialogfragment;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.app.AlertDialog;
|
||||
@ -34,12 +34,12 @@ import android.widget.EditText;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.activity.MainActivity;
|
||||
import sharedcode.turboeditor.preferences.PreferenceHelper;
|
||||
import sharedcode.turboeditor.task.SaveFileTask;
|
||||
import sharedcode.turboeditor.util.GreatUri;
|
||||
import sharedcode.turboeditor.views.DialogHelper;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.activity.MainActivity;
|
||||
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
|
||||
import com.maskyn.fileeditorpro.task.SaveFileTask;
|
||||
import com.maskyn.fileeditorpro.util.GreatUri;
|
||||
import com.maskyn.fileeditorpro.views.DialogHelper;
|
||||
|
||||
// ...
|
||||
@SuppressLint("ValidFragment")
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.dialogfragment;
|
||||
package com.maskyn.fileeditorpro.dialogfragment;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
@ -27,8 +27,8 @@ import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.NumberPicker;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.views.DialogHelper;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.views.DialogHelper;
|
||||
|
||||
// ...
|
||||
public class NumberPickerDialog extends DialogFragment {
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.dialogfragment;
|
||||
package com.maskyn.fileeditorpro.dialogfragment;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.app.AlertDialog;
|
||||
@ -28,11 +28,11 @@ import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.activity.MainActivity;
|
||||
import sharedcode.turboeditor.task.SaveFileTask;
|
||||
import sharedcode.turboeditor.util.GreatUri;
|
||||
import sharedcode.turboeditor.views.DialogHelper;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.activity.MainActivity;
|
||||
import com.maskyn.fileeditorpro.task.SaveFileTask;
|
||||
import com.maskyn.fileeditorpro.util.GreatUri;
|
||||
import com.maskyn.fileeditorpro.views.DialogHelper;
|
||||
|
||||
@SuppressLint("ValidFragment")
|
||||
public class SaveFileDialog extends DialogFragment {
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.dialogfragment;
|
||||
package com.maskyn.fileeditorpro.dialogfragment;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
@ -28,8 +28,8 @@ import android.widget.AdapterView;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.ListView;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.preferences.PreferenceHelper;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
|
||||
|
||||
public class ThemeDialog extends DialogFragment implements AdapterView.OnItemClickListener {
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.preferences;
|
||||
package com.maskyn.fileeditorpro.preferences;
|
||||
|
||||
public enum PreferenceChangeType {
|
||||
FONT_SIZE, ENCODING, SYNTAX, WRAP_CONTENT, MONOSPACE, LINE_NUMERS, THEME_CHANGE, TEXT_SUGGESTIONS, READ_ONLY, ACCESSORY_VIEW
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.preferences;
|
||||
package com.maskyn.fileeditorpro.preferences;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
@ -26,7 +26,7 @@ import android.preference.PreferenceManager;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import sharedcode.turboeditor.util.Device;
|
||||
import com.maskyn.fileeditorpro.util.Device;
|
||||
|
||||
public final class PreferenceHelper {
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.preferences;
|
||||
package com.maskyn.fileeditorpro.preferences;
|
||||
|
||||
import android.app.Fragment;
|
||||
import android.content.Context;
|
||||
@ -31,14 +31,13 @@ import android.view.ViewGroup;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.TextView;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.activity.MainActivity;
|
||||
import sharedcode.turboeditor.dialogfragment.EncodingDialog;
|
||||
import sharedcode.turboeditor.dialogfragment.NumberPickerDialog;
|
||||
import sharedcode.turboeditor.dialogfragment.ThemeDialog;
|
||||
import sharedcode.turboeditor.util.Device;
|
||||
import sharedcode.turboeditor.util.ProCheckUtils;
|
||||
import sharedcode.turboeditor.util.ViewUtils;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.activity.MainActivity;
|
||||
import com.maskyn.fileeditorpro.dialogfragment.EncodingDialog;
|
||||
import com.maskyn.fileeditorpro.dialogfragment.NumberPickerDialog;
|
||||
import com.maskyn.fileeditorpro.dialogfragment.ThemeDialog;
|
||||
import com.maskyn.fileeditorpro.util.Device;
|
||||
import com.maskyn.fileeditorpro.util.ViewUtils;
|
||||
|
||||
public class SettingsFragment extends Fragment implements NumberPickerDialog.INumberPickerDialog, EncodingDialog.DialogListener, ThemeDialog.DialogListener {
|
||||
|
||||
@ -115,28 +114,14 @@ public class SettingsFragment extends Fragment implements NumberPickerDialog.INu
|
||||
swSplitByLine.setChecked(sSplitByLine);
|
||||
swErrorReports.setChecked(sErrorReports);
|
||||
|
||||
TextView fontSizeView, encodingView, extraOptionsView, themeView, goPro;
|
||||
goPro = (TextView) rootView.findViewById(R.id.drawer_button_go_pro);
|
||||
TextView fontSizeView, encodingView, extraOptionsView, themeView;
|
||||
fontSizeView = (TextView) rootView.findViewById(R.id.drawer_button_font_size);
|
||||
encodingView = (TextView) rootView.findViewById(R.id.drawer_button_encoding);
|
||||
extraOptionsView = (TextView) rootView.findViewById(R.id.drawer_button_extra_options);
|
||||
themeView = (TextView) rootView.findViewById(R.id.drawer_button_theme);
|
||||
|
||||
ViewUtils.setVisible(goPro, !ProCheckUtils.isPro(getActivity()));
|
||||
ViewUtils.setVisible(swStorageAccessFramework, Device.hasKitKatApi());
|
||||
|
||||
goPro.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
final String appPackageName = "com.maskyn.fileeditorpro";
|
||||
try {
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + appPackageName)));
|
||||
} catch (android.content.ActivityNotFoundException anfe) {
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://play.google.com/store/apps/details?id=" + appPackageName)));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
swLineNumbers.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.task;
|
||||
package com.maskyn.fileeditorpro.task;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.os.AsyncTask;
|
||||
@ -36,10 +36,10 @@ import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.activity.MainActivity;
|
||||
import sharedcode.turboeditor.util.Device;
|
||||
import sharedcode.turboeditor.util.GreatUri;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.activity.MainActivity;
|
||||
import com.maskyn.fileeditorpro.util.Device;
|
||||
import com.maskyn.fileeditorpro.util.GreatUri;
|
||||
|
||||
public class SaveFileTask extends AsyncTask<Void, Void, Void> {
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,12 +17,12 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.texteditor;
|
||||
package com.maskyn.fileeditorpro.texteditor;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import sharedcode.turboeditor.preferences.PreferenceHelper;
|
||||
import sharedcode.turboeditor.util.PixelDipConverter;
|
||||
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
|
||||
import com.maskyn.fileeditorpro.util.PixelDipConverter;
|
||||
|
||||
public class EditTextPadding {
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.texteditor;
|
||||
package com.maskyn.fileeditorpro.texteditor;
|
||||
|
||||
import org.mozilla.universalchardet.UniversalDetector;
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.texteditor;
|
||||
package com.maskyn.fileeditorpro.texteditor;
|
||||
|
||||
import android.text.Layout;
|
||||
import android.text.TextUtils;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,14 +17,14 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.texteditor;
|
||||
package com.maskyn.fileeditorpro.texteditor;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
import sharedcode.turboeditor.preferences.PreferenceHelper;
|
||||
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
|
||||
|
||||
public class PageSystem {
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.texteditor;
|
||||
package com.maskyn.fileeditorpro.texteditor;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
@ -25,7 +25,7 @@ import android.view.View;
|
||||
|
||||
import com.faizmalkani.floatingactionbutton.FloatingActionButton;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
|
||||
public class PageSystemButtons {
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.texteditor;
|
||||
package com.maskyn.fileeditorpro.texteditor;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.texteditor;
|
||||
package com.maskyn.fileeditorpro.texteditor;
|
||||
|
||||
import java.util.LinkedList;
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.ContentUris;
|
||||
@ -261,6 +261,6 @@ public class AccessStorageApi {
|
||||
* @return Whether the Uri authority is Turbo Storage.
|
||||
*/
|
||||
public static boolean isTurboDocument(Uri uri) {
|
||||
return "sharedcode.turboeditor.util.documents".equals(uri.getAuthority());
|
||||
return "com.maskyn.fileeditorpro.util.documents".equals(uri.getAuthority());
|
||||
}
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
@ -27,8 +27,8 @@ import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.LinearLayout;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.preferences.PreferenceHelper;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
|
||||
|
||||
/**
|
||||
* Created by mac on 15/02/15.
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;/*
|
||||
package com.maskyn.fileeditorpro.util;/*
|
||||
* The Alphanum Algorithm is an improved sorting algorithm for strings
|
||||
* containing numbers. Instead of sorting numbers in ASCII order like
|
||||
* a standard sort, this algorithm sorts numbers in numeric order.
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.pm.ApplicationInfo;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,9 +17,9 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
import sharedcode.turboeditor.BuildConfig;
|
||||
import com.maskyn.fileeditorpro.BuildConfig;
|
||||
|
||||
/**
|
||||
* Created by Artem on 30.12.13.
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
import android.os.Build;
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
import android.net.Uri;
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
public interface IHomeActivity {
|
||||
public abstract boolean showInterstitial();
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
public class MimeTypes {
|
||||
public static final String[] MIME_TEXT = {
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,12 +17,12 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
import android.app.Activity;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.preferences.PreferenceHelper;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
|
||||
|
||||
public class ThemeUtils {
|
||||
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
import android.content.Context;
|
||||
import android.support.annotation.NonNull;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util;
|
||||
package com.maskyn.fileeditorpro.util;
|
||||
|
||||
import android.graphics.Matrix;
|
||||
import android.support.annotation.NonNull;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util.systemui;
|
||||
package com.maskyn.fileeditorpro.util.systemui;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Build;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util.systemui;
|
||||
package com.maskyn.fileeditorpro.util.systemui;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.support.v7.app.ActionBar;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util.systemui;
|
||||
package com.maskyn.fileeditorpro.util.systemui;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.app.Activity;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util.systemui;
|
||||
package com.maskyn.fileeditorpro.util.systemui;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.app.ActionBar;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.util.systemui;
|
||||
package com.maskyn.fileeditorpro.util.systemui;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.app.Activity;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.views;
|
||||
package com.maskyn.fileeditorpro.views;
|
||||
|
||||
import android.content.Context;
|
||||
import android.support.v4.widget.DrawerLayout;
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.views;
|
||||
package com.maskyn.fileeditorpro.views;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.AlertDialog;
|
||||
@ -37,8 +37,8 @@ import android.widget.TextView;
|
||||
import org.apache.commons.lang3.builder.EqualsBuilder;
|
||||
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
||||
|
||||
import sharedcode.turboeditor.R;
|
||||
import sharedcode.turboeditor.dialogfragment.AboutDialog;
|
||||
import com.maskyn.fileeditorpro.R;
|
||||
import com.maskyn.fileeditorpro.dialogfragment.AboutDialog;
|
||||
|
||||
/**
|
||||
* Helper class for showing fragment dialogs.
|
@ -1,14 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Vlad Mihalachi
|
||||
*
|
||||
* This file is part of Turbo Editor.
|
||||
* This file is part of Text Editor 8000.
|
||||
*
|
||||
* Turbo Editor is free software: you can redistribute it and/or modify
|
||||
* Text Editor 8000 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Turbo Editor is distributed in the hope that it will be useful,
|
||||
* Text Editor 8000 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package sharedcode.turboeditor.views;
|
||||
package com.maskyn.fileeditorpro.views;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 301 B |
Before Width: | Height: | Size: 724 B After Width: | Height: | Size: 724 B |
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 621 B |
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 465 B |
Before Width: | Height: | Size: 615 B After Width: | Height: | Size: 615 B |
Before Width: | Height: | Size: 531 B After Width: | Height: | Size: 531 B |
Before Width: | Height: | Size: 495 B After Width: | Height: | Size: 495 B |
Before Width: | Height: | Size: 875 B After Width: | Height: | Size: 875 B |
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 713 B |
Before Width: | Height: | Size: 644 B After Width: | Height: | Size: 644 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 365 B |
Before Width: | Height: | Size: 401 B After Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 853 B After Width: | Height: | Size: 853 B |
Before Width: | Height: | Size: 898 B After Width: | Height: | Size: 898 B |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 212 B |
Before Width: | Height: | Size: 475 B After Width: | Height: | Size: 475 B |
Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 462 B |
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 403 B After Width: | Height: | Size: 403 B |
Before Width: | Height: | Size: 290 B After Width: | Height: | Size: 290 B |
Before Width: | Height: | Size: 596 B After Width: | Height: | Size: 596 B |
Before Width: | Height: | Size: 535 B After Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 749 B After Width: | Height: | Size: 749 B |
Before Width: | Height: | Size: 692 B After Width: | Height: | Size: 692 B |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 517 B After Width: | Height: | Size: 517 B |