@@ -490,59 +490,17 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
490490 {'last-percent': 0.8,
491491 'toolbox-percent': 1.0,
492492 'toolbox-tree-sel': ''})],
493- 'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('widget/export_mapper_widget.py'),
494- {'attrib-starts': [('ExportMapperWidget|0|',
495- 11),
496- ('ExportMapperWidget|0|.default_file_output_path|0|',
497- 178)],
498- 'code-line': " if parts[0] == 'assets':\r\n",
499- 'first-line': 182,
493+ 'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('DEBUGGER_PATH.txt'),
494+ {'attrib-starts': [],
495+ 'code-line': 'C:\\Program Files (x86)\\Wing Pro 8\\wingdb.exe',
496+ 'first-line': 0,
500497 'folded-linenos': [],
501- 'sel-line': 187 ,
502- 'sel-line-start': 8197 ,
503- 'selection_end': 8197 ,
504- 'selection_start': 8197 ,
498+ 'sel-line': 0 ,
499+ 'sel-line-start': 0 ,
500+ 'selection_end': 0 ,
501+ 'selection_start': 0 ,
505502 'zoom': 0},
506- 1682980229.6966512],
507- [loc('core/tag_converter.py'),
508- {'attrib-starts': [('TagConverter|0|',
509- 10),
510- ('TagConverter|0|.replace_links|0|',
511- 91)],
512- 'code-line': ' if link.startswith("http") or link.startswith("{%") or link.startswith("{{"):\r\n',
513- 'first-line': 96,
514- 'folded-linenos': [],
515- 'sel-line': 118,
516- 'sel-line-start': 3697,
517- 'selection_end': 3786,
518- 'selection_start': 3786,
519- 'zoom': 0},
520- 1682980234.0596473],
521- [loc('widget/export_mapper_widget.py'),
522- {'attrib-starts': [('ExportMapperWidget|0|',
523- 11),
524- ('ExportMapperWidget|0|.default_file_output_path|0|',
525- 178)],
526- 'code-line': " if parts[0] == 'assets':\r\n",
527- 'first-line': 182,
528- 'folded-linenos': [],
529- 'sel-line': 187,
530- 'sel-line-start': 8197,
531- 'selection_end': 8197,
532- 'selection_start': 8197,
533- 'zoom': 0},
534- 1682980912.095077],
535- [loc('DEBUGGER_PATH.txt'),
536- {'attrib-starts': [],
537- 'code-line': 'C:\\Program Files (x86)\\Wing Pro 8\\wingdb.exe',
538- 'first-line': 0,
539- 'folded-linenos': [],
540- 'sel-line': 0,
541- 'sel-line-start': 0,
542- 'selection_end': 0,
543- 'selection_start': 0,
544- 'zoom': 0},
545- 1682980947.261975],
503+ 1682980947.261975],
546504 [loc('dev_bss_to_django.py'),
547505 {'attrib-starts': [],
548506 'code-line': ' os.system(f\'"{debugger_path}" bss_to_django.py {sys.argv[1]}\')',
@@ -745,144 +703,52 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
745703 'selection_end': 12032,
746704 'selection_start': 12032,
747705 'zoom': 0},
748- 1683232120.311601]],
706+ 1683232120.311601],
707+ [loc('widget/export_mapper_widget.py'),
708+ {'attrib-starts': [('ExportMapperWidget|0|',
709+ 11),
710+ ('ExportMapperWidget|0|.default_django_url|0|',
711+ 225)],
712+ 'code-line': ' return standard_path(self.remove_dot_html(os.path.join(*parts[1:])))\r\n',
713+ 'first-line': 208,
714+ 'folded-linenos': [],
715+ 'sel-line': 269,
716+ 'sel-line-start': 11946,
717+ 'selection_end': 12032,
718+ 'selection_start': 12032,
719+ 'zoom': 0},
720+ 1683232324.7562623],
721+ [loc('widget/export_mapper_widget.py'),
722+ {'attrib-starts': [('ExportMapperWidget|0|',
723+ 11)],
724+ 'code-line': ' def default_file_output_path(self, bss_filename:str): \r\n',
725+ 'first-line': 172,
726+ 'folded-linenos': [],
727+ 'sel-line': 178,
728+ 'sel-line-start': 7845,
729+ 'selection_end': 7869,
730+ 'selection_start': 7869,
731+ 'zoom': 0},
732+ 1683232344.2324362],
733+ [loc('widget/export_mapper_widget.py'),
734+ {'attrib-starts': [('ExportMapperWidget|0|',
735+ 11)],
736+ 'code-line': ' def default_file_output_path(self, bss_filename:str): \r\n',
737+ 'first-line': 217,
738+ 'folded-linenos': [],
739+ 'sel-line': 178,
740+ 'sel-line-start': 7845,
741+ 'selection_end': 7869,
742+ 'selection_start': 7869,
743+ 'zoom': 0},
744+ 1683232348.1322024]],
749745 20),
750- 'current-loc': loc('widget/export_mapper_widget.py'),
751- 'editor-state-list': [(loc('bss_to_django.py'),
752- {'attrib-starts': [],
753- 'code-line': '# Bugfix: the taskbar icon issue:\r\n',
754- 'first-line': 0,
755- 'folded-linenos': [],
756- 'sel-line': 5,
757- 'sel-line-start': 110,
758- 'selection_end': 143,
759- 'selection_start': 143,
760- 'zoom': 0}),
761- (loc('widget/code_generation_widget.py'),
762- {'attrib-starts': [('CodeGenerationWidget|0|',
763- 8)],
764- 'code-line': ' status_message_signal = pyqtSignal(str)\r\n',
765- 'first-line': 36,
766- 'folded-linenos': [],
767- 'sel-line': 10,
768- 'sel-line-start': 379,
769- 'selection_end': 481,
770- 'selection_start': 421,
771- 'zoom': 0}),
772- (loc('DEBUGGER_PATH.txt'),
773- {'attrib-starts': [],
774- 'code-line': 'C:\\Program Files (x86)\\Wing Pro 8\\wingdb.exe',
775- 'first-line': 0,
776- 'folded-linenos': [],
777- 'sel-line': 0,
778- 'sel-line-start': 0,
779- 'selection_end': 0,
780- 'selection_start': 0,
781- 'zoom': 0}),
782- (loc('dev_bss_to_django.py'),
783- {'attrib-starts': [],
784- 'code-line': ' os.system(f\'"{debugger_path}" bss_to_django.py {sys.argv[1]}\')',
785- 'first-line': 3,
786- 'folded-linenos': [],
787- 'sel-line': 22,
788- 'sel-line-start': 717,
789- 'selection_end': 717,
790- 'selection_start': 717,
791- 'zoom': 0}),
792- (loc('core/exporter_thread.py'),
793- {'attrib-starts': [],
794- 'code-line': 'from PyQt5.QtCore import QThread, pyqtSignal\r\n',
795- 'first-line': 0,
796- 'folded-linenos': [],
797- 'sel-line': 0,
798- 'sel-line-start': 0,
799- 'selection_end': 0,
800- 'selection_start': 0,
801- 'zoom': 0}),
802- (loc('widget/export_mapper_widget.py'),
803- {'attrib-starts': [('ExportMapperWidget|0|',
804- 11),
805- ('ExportMapperWidget|0|.default_django_url|0|',
806- 225)],
807- 'code-line': ' return standard_path(self.remove_dot_html(os.path.join(*parts[1:])))\r\n',
808- 'first-line': 208,
809- 'folded-linenos': [],
810- 'sel-line': 269,
811- 'sel-line-start': 11946,
812- 'selection_end': 12032,
813- 'selection_start': 12032,
814- 'zoom': 0}),
815- (loc('core/file_converter.py'),
816- {'attrib-starts': [('FileConverter|0|',
817- 8),
818- ('FileConverter|0|.convert|0|',
819- 31)],
820- 'code-line': ' output_file.write(tag_converter.convert())\r\n',
821- 'first-line': 18,
822- 'folded-linenos': [],
823- 'sel-line': 53,
824- 'sel-line-start': 1862,
825- 'selection_end': 1916,
826- 'selection_start': 1916,
827- 'zoom': 0}),
828- (loc('dialog/main_window.py'),
829- {'attrib-starts': [('MainWindow|0|',
830- 14),
831- ('MainWindow|0|.try_loading_config_from_arg|0|',
832- 145)],
833- 'code-line': " if 'DEBUG' in os.environ:\r\n",
834- 'first-line': 156,
835- 'folded-linenos': [],
836- 'sel-line': 171,
837- 'sel-line-start': 6972,
838- 'selection_end': 6993,
839- 'selection_start': 6988,
840- 'zoom': 0}),
841- (loc('core/tag_converter.py'),
842- {'attrib-starts': [('TagConverter|0|',
843- 10),
844- ('TagConverter|0|.replace_links|0|',
845- 91)],
846- 'code-line': ' if link.startswith("http") or link.startswith("{%") or link.startswith("{{"):\r\n',
847- 'first-line': 96,
848- 'folded-linenos': [],
849- 'sel-line': 118,
850- 'sel-line-start': 3697,
851- 'selection_end': 3786,
852- 'selection_start': 3786,
853- 'zoom': 0}),
854- (loc('core/tools.py'),
855- {'attrib-starts': [('standard_path|0|',
856- 3)],
857- 'code-line': ' drive, path1 = os.path.splitdrive(path)\r\n',
858- 'first-line': 0,
859- 'folded-linenos': [],
860- 'sel-line': 8,
861- 'sel-line-start': 180,
862- 'selection_end': 180,
863- 'selection_start': 180,
864- 'zoom': 0})],
746+ 'current-loc': None,
747+ 'editor-state-list': [],
865748 'has-focus': True,
866749 'locked': False},
867- [loc('bss_to_django.py'),
868- loc('widget/code_generation_widget.py'),
869- loc('DEBUGGER_PATH.txt'),
870- loc('dev_bss_to_django.py'),
871- loc('core/exporter_thread.py'),
872- loc('widget/export_mapper_widget.py'),
873- loc('core/file_converter.py'),
874- loc('dialog/main_window.py'),
875- loc('core/tag_converter.py'),
876- loc('core/tools.py')]),
877- 'open_files': ['core/exporter_thread.py',
878- 'core/file_converter.py',
879- 'core/tag_converter.py',
880- 'dev_bss_to_django.py',
881- 'dialog/main_window.py',
882- 'widget/code_generation_widget.py',
883- 'DEBUGGER_PATH.txt',
884- 'bss_to_django.py',
885- 'widget/export_mapper_widget.py']},
750+ []),
751+ 'open_files': []},
886752 'saved_notebook_display': None,
887753 'split_percents': {0: 1.0},
888754 'splits': 2,
@@ -1023,15 +889,24 @@ guimgr.visual-state = {loc('../../../../../../Python38/Lib/encodings/cp1252.py')
1023889 'sel-line-start': 408,
1024890 'selection_end': 415,
1025891 'selection_start': 415,
892+ 'zoom': 0},
893+ loc('DEBUGGER_PATH.txt'): {'attrib-starts': [],
894+ 'code-line': 'C:\\Program Files (x86)\\Wing Pro 8\\wingdb.exe',
895+ 'first-line': 0,
896+ 'folded-linenos': [],
897+ 'sel-line': 0,
898+ 'sel-line-start': 0,
899+ 'selection_end': 0,
900+ 'selection_start': 0,
1026901 'zoom': 0},
1027902 loc('bss_to_django.py'): {'attrib-starts': [],
1028- 'code-line': ' if len(sys.argv) == 1 :\r\n',
903+ 'code-line': '# Bugfix: the taskbar icon issue :\r\n',
1029904 'first-line': 0,
1030905 'folded-linenos': [],
1031- 'sel-line': 15 ,
1032- 'sel-line-start': 410 ,
1033- 'selection_end': 410 ,
1034- 'selection_start': 410 ,
906+ 'sel-line': 5 ,
907+ 'sel-line-start': 110 ,
908+ 'selection_end': 143 ,
909+ 'selection_start': 143 ,
1035910 'zoom': 0},
1036911 loc('code_gen.py'): {'attrib-starts': [],
1037912 'code-line': '',
@@ -1147,13 +1022,13 @@ guimgr.visual-state = {loc('../../../../../../Python38/Lib/encodings/cp1252.py')
11471022 'zoom': 0},
11481023 loc('core/tools.py'): {'attrib-starts': [('standard_path|0|',
11491024 3)],
1150- 'code-line': '',
1025+ 'code-line': ' drive, path1 = os.path.splitdrive(path)\r\n ',
11511026 'first-line': 0,
11521027 'folded-linenos': [],
1153- 'sel-line': 14 ,
1154- 'sel-line-start': 307 ,
1155- 'selection_end': 307 ,
1156- 'selection_start': 307 ,
1028+ 'sel-line': 8 ,
1029+ 'sel-line-start': 180 ,
1030+ 'selection_end': 180 ,
1031+ 'selection_start': 180 ,
11571032 'zoom': 0},
11581033 loc('dev_bss_to_django.py'): {'attrib-starts': [],
11591034 'code-line': ' os.system(f\'"{debugger_path}" bss_to_django.py {sys.argv[1]}\')',
@@ -1266,16 +1141,14 @@ guimgr.visual-state = {loc('../../../../../../Python38/Lib/encodings/cp1252.py')
12661141 'selection_start': 3691,
12671142 'zoom': 0},
12681143 loc('widget/export_mapper_widget.py'): {'attrib-starts': [('ExportMapperWidget|0|',
1269- 11),
1270- ('ExportMapperWidget|0|.default_file_output_path|0|',
1271- 178)],
1272- 'code-line': " if parts[0] == 'assets':\r\n",
1273- 'first-line': 182,
1144+ 11)],
1145+ 'code-line': ' def default_file_output_path(self, bss_filename:str): \r\n',
1146+ 'first-line': 253,
12741147 'folded-linenos': [],
1275- 'sel-line': 187 ,
1276- 'sel-line-start': 8197 ,
1277- 'selection_end': 8197 ,
1278- 'selection_start': 8197 ,
1148+ 'sel-line': 178 ,
1149+ 'sel-line-start': 7845 ,
1150+ 'selection_end': 7869 ,
1151+ 'selection_start': 7869 ,
12791152 'zoom': 0}}
12801153search.search-history = ['DEBUG',
12811154 "os.environ['DEBUG']",
0 commit comments