Posted: 10.08.2023 10:20
наше главное репо- https://github.com/Alexey-T/CudaText . оттуда и качать.
плагин тут - https://github.com/Alexey-T/CudaText/tr ... a_addonman
Discuss releases, report bugs and wishes
http://synwrite.sourceforge.net/forums/
Это ветка дерева каталогов репозитория, я там не нашел кнопки скачать zip.main Alexey wrote:отсюда: https://github.com/Alexey-T/CudaText/tr ... a_addonman
Code: Select all
https://github.com/Alexey-T/CudaText/tree/master/app/py/cuda_addonman
Got empty list of Git branches for that repo
качать zip можно только из страниццы "корень репозитория". оно качает весь репозиторий.>Это ветка дерева каталогов репозитория, я там не нашел кнопки скачать zip.
а так нельзя. можно указать только URL репозитория, корня.>Пробовал
Plugins - Addons Manager - Install from Git
указал https://github.com/Alexey-T/CudaText/tr ... a_addonman
в Лазарусе есть кнопка тулбара "forms". жмите и выберите форму fmMain.>А недостаточно в Lazarus открыть один первый файл формы?
если не компилит, дайте тут сообщения ошибок из окна Messages.>Наверное, будут ссылки на другие функции, и компиляция и сборка не пройдут
Code: Select all
{
"pylib__linux" : "/usr/lib/python3.11/config-3.11-x86_64-linux-gnu/libpython3.11.so",
"ui_toolbar_show" : true,
"lexer_folding_max_lines" : 311000,
"ui_max_size_lexer" : 3,
"ui_statusbar_show" : true,
"ui_sidebar_show" : true,
"ui_theme" : "",
"ui_theme_syntax" : "",
"mouse_middle_click" : 2,
"ui_lexer_themes" : false,
"ui_reopen_session" : true,
"ui_reopen_session_cmdline" : true,
"micromap_show" : true,
"micromap_bookmarks" : true,
"micromap_on_scrollbar" : false,
"scrollbar_themed" : true,
"ui_max_history_edits" : 20,
"ui_max_history_menu" : 25,
"ui_max_history_files" : 25,
"ui_max_history_clipboard" : 15,
"ui_links_confirm" : false,
"ui_save_always" : false,
"ui_font_name__linux" : "Sans",
"ui_font_size__linux" : 9,
"auto_copy_clp" : "p"
}
Code: Select all
Loaded session: "history session.json", 330ms, 26 file(s) + 1 modified
Startup: 720ms, plugins: 70ms (macros 45ms, code_tree_x 1ms, vim_mode 2ms, breadcrumbs 17ms)
Init: cuda_tree_wikidpad
Saved session: "history session.json", 27 file(s), by timer at 23:00:54
Init: cuda_insert_time
Saved session: "history session.json", 27 file(s), by timer at 23:01:25
Init: cudatext
Saved session: "history session.json", 27 file(s), by timer at 23:01:58
Saved session: "history session.json", 27 file(s), by timer at 23:02:28
Saved session: "history session.json", 27 file(s), by timer at 23:02:59
class Bread: def __init__(
Saved session: "history session.json", 28 file(s), by timer at 23:10:39
ERROR: Exception in CudaText for ins_default: List index (849) out of bounds
ERROR: Exception in CudaText for on_state: Access violation
ERROR: Exception in CudaText for cuda_breadcrumbs.on_state: Access violation
ERROR: Exception in CudaText for on_state: Access violation
ERROR: Exception in CudaText for cuda_code_tree_x.on_state: Access violation
ERROR: Exception in CudaText for on_state: Access violation
ERROR: Exception in CudaText for cuda_vim_mode.on_state: Access violation
ERROR: Exception in CudaText for on_state: Access violation
Original exception was:
ERROR: Exception in CudaText for cuda_breadcrumbs.on_state: SystemError: unknown opcode
ERROR: Exception in CudaText for on_state: Access violation
ERROR: Exception in CudaText for cuda_code_tree_x.on_state: AttributeError: 'int' object has no attribute 'APPSTATE_CODETREE_AFTER_FILL'
ERROR: Exception in CudaText for on_state: Access violation
ERROR: Exception in CudaText for cuda_vim_mode.on_state: AttributeError: 'int' object has no attribute 'active_was'
ERROR: Exception in CudaText for on_state: Access violation
ERROR: Exception in CudaText for on_state: Access violation
ERROR: Exception in CudaText for cuda_code_tree_x.on_state: AttributeError: 'int' object has no attribute 'APPSTATE_CODETREE_AFTER_FILL'
ERROR: Exception in CudaText for on_state: Access violation
ERROR: Exception in CudaText for cuda_vim_mode.on_state: AttributeError: 'int' object has no attribute 'active_was'
ERROR: Exception in CudaText for on_state: Access violation
Traceback (most recent call last):
File "/home/one/.config/cudatext/py/cuda_code_tree_x/__init__.py", line 42, in on_state
if state == APPSTATE_CODETREE_AFTER_FILL:
^^^^^
TypeError: unsupported operand type(s) for //: 'NoneType' and 'int'
ERROR: Exception in CudaText for cuda_code_tree_x.on_state: TypeError: unsupported operand type(s) for //: 'NoneType' and 'int'
ERROR: Exception in CudaText for on_state: Access violation
Traceback (most recent call last):
File "/home/one/.config/cudatext/py/cuda_vim_mode/__init__.py", line 947, in on_state
if not self.active_was:
^^^^
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
ERROR: Exception in CudaText for cuda_vim_mode.on_state: TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
ERROR: Exception in CudaText for on_state: Access violation
Traceback (most recent call last):
File "/home/one/.config/cudatext/py/cuda_code_tree_x/__init__.py", line 42, in on_state
if state == APPSTATE_CODETREE_AFTER_FILL:
^^^^^
TypeError: unsupported operand type(s) for //: 'NoneType' and 'int'
ERROR: Exception in CudaText for cuda_code_tree_x.on_state: TypeError: unsupported operand type(s) for //: 'NoneType' and 'int'
ERROR: Exception in CudaText for on_state: Access violation
Traceback (most recent call last):
File "/home/one/.config/cudatext/py/cuda_vim_mode/__init__.py", line 947, in on_state
if not self.active_was:
^^^^
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
ERROR: Exception in CudaText for cuda_vim_mode.on_state: TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
Saved session: "history session.json", 28 file(s), by timer at 23:11:23
...
on in CudaText for on_state: SystemError: unknown opcode
ERROR: Exception in CudaText for on_state: SystemError: unknown opcode
ERROR: Exception in CudaText for cuda_vim_mode.on_key: Access violation
ERROR: Exception in CudaText for on_key: Access violation
ERROR: Exception in CudaText for cuda_vim_mode.on_key: AttributeError: 'int' object has no attribute 'h'
ERROR: Exception in CudaText for cuda_vim_mode.on_key: Access violation
ERROR: Exception in CudaText for on_key: Access violation
ERROR: Exception in CudaText for cuda_vim_mode.on_key: AttributeError: 'int' object has no attribute 'h'
ERROR: Exception in CudaText for cuda_vim_mode.on_key: Access violation
ERROR: Exception in CudaText for on_key: Access violation
ERROR: Exception in CudaText for cuda_vim_mode.on_key: AttributeError: 'int' object has no attribute 'h'
ERROR: Exception in CudaText for ins_default: SystemError: unknown opcode
ERROR: Exception in CudaText for cuda_vim_mode.on_key: Access violation
ERROR: Exception in CudaText for on_key: Access violation
ERROR: Exception in CudaText for cuda_vim_mode.on_key: AttributeError: 'int' object has no attribute 'h'
ERROR: Exception in CudaText for on_state: SystemError: unknown opcode
ERROR: Exception in CudaText for on_state: SystemError: unknown opcode
ERROR: Exception in CudaText for on_state: SystemError: unknown opcode
ERROR: Exception in CudaText for cuda_tree_wikidpad.get_headers: SystemError: unknown opcode
ERROR: Exception in CudaText for on_state: SystemError: unknown opcode
ERROR: Exception in CudaText for on_state: SystemError: unknown opcode
ERROR: Exception in CudaText for on_state: SystemError: unknown opcode
Saved session: "history session.json", 28 file(s), by timer at 23:12:58
ERROR: Exception in CudaText for cudatext._menu_proc_callback_proxy: Access violation
ERROR: Exception in CudaText for cudatext._menu_proc_callback_proxy: Access violation
Code: Select all
if (ALine2-ALine1)<FUndoList.MaxCount then
begin
//delete slowly with undo
//AWithEvent=false to fix freeze by NN sec, by Ctrl+A,Del during lexer parsing
for i:= ALine2 downto ALine1 do
LineDelete(i, false{AForceLast}, false{WithEvent});
end
else
begin
//delete fast
FList.DeleteRange(ALine1, ALine2);
ClearUndo;
end;