File tree 4 files changed +7
-15
lines changed
4 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 13
13
from .remove_package_command import RemovePackageCommand
14
14
from .upgrade_all_packages_command import UpgradeAllPackagesCommand
15
15
from .upgrade_package_command import UpgradePackageCommand
16
- from .package_message_command import PackageMessageCommand
17
16
from .package_control_insert_command import PackageControlInsertCommand
18
17
from .package_control_tests_command import PackageControlTestsCommand
19
18
from .remove_channel_command import RemoveChannelCommand
34
33
'RemovePackageCommand' ,
35
34
'UpgradeAllPackagesCommand' ,
36
35
'UpgradePackageCommand' ,
37
- 'PackageMessageCommand' ,
38
36
'PackageControlInsertCommand' ,
39
37
'PackageControlTestsCommand' ,
40
38
'RemoveChannelCommand' ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1170,17 +1170,23 @@ def print_to_panel():
1170
1170
view .set_scratch (True )
1171
1171
1172
1172
def write (string ):
1173
- view .run_command ('package_message ' , {'string ' : string })
1173
+ view .run_command ('insert ' , {'characters ' : string })
1174
1174
1175
1175
if not view .size ():
1176
+ position = 0
1176
1177
view .settings ().set ("word_wrap" , True )
1178
+ view .settings ().set ("auto_indent" , False )
1177
1179
write ('Package Control Messages\n ' +
1178
1180
'========================' )
1181
+ else :
1182
+ position = view .size ()
1179
1183
1180
1184
write (output )
1181
1185
if window .active_view () != view :
1182
1186
window .focus_view (view )
1183
1187
1188
+ view .show (sublime .Region (position , position ))
1189
+
1184
1190
sublime .set_timeout (print_to_panel , 1 )
1185
1191
1186
1192
def remove_package (self , package_name , is_dependency = False ):
Original file line number Diff line number Diff line change 124
124
'.commands.install_package_command' ,
125
125
'.commands.list_packages_command' ,
126
126
'.commands.list_unmanaged_packages_command' ,
127
- '.commands.package_message_command' ,
128
127
'.commands.remove_channel_command' ,
129
128
'.commands.remove_package_command' ,
130
129
'.commands.remove_repository_command' ,
You can’t perform that action at this time.
0 commit comments