Fixed file opening bug; deleted dSYM file

This commit is contained in:
Allen Webster 2020-01-16 19:58:24 -08:00
parent 99f30cfe77
commit e9a0aa9c1b
6 changed files with 4 additions and 22 deletions

View File

@ -397,7 +397,7 @@ get_file_name_from_user(Application_Links *app, Arena *arena, String_Const_u8 qu
result.file_name_in_text_field = string_front_of_path(l_result.text_field);
String_Const_u8 path = {};
if (!result.is_folder && result.file_name_in_text_field.size == 0 && l_result.text_field.size > 0){
if (l_result.user_data == 0 && result.file_name_in_text_field.size == 0 && l_result.text_field.size > 0){
result.file_name_in_text_field = string_front_folder_of_path(l_result.text_field);
path = string_remove_front_folder_of_path(l_result.text_field);
}

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.xcode.dsym.metadata_generator</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>

View File

@ -6,6 +6,7 @@ patterns = {
"*.cpp",
"*.h",
"*.m",
"*.mm",
"*.bat",
"*.sh",
"*.4coder",

View File

@ -23,7 +23,7 @@ lister_whole_word_backspace_when_modified = false;
show_line_number_margins = false;
// Code Wrapping
treat_as_code = ".cpp.c.hpp.h.cc.cs.java.rs.glsl.m";
treat_as_code = ".cpp.c.hpp.h.cc.cs.java.rs.glsl.m.mm";
enable_virtual_whitespace = true;
enable_code_wrapping = true;
automatically_adjust_wrapping = true;

View File

@ -6,6 +6,7 @@ patterns = {
"*.cpp",
"*.h",
"*.m",
"*.mm",
"*.bat",
"*.sh",
"*.4coder",