问题标签 [scite]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
473 浏览

c - 从 SciTE 运行时控制台程序无法正确执行

我正在从教程中同时学习 C 和一般编程课程。课程设置建议 Windows 用户使用 SciTE,所以我这样做了。可能因为我有 Windows 8,我必须编辑 SciTE cpp.properties 文件才能运行示例程序。这是属性文件的 make/go 部分的样子:

我的问题是我无法让这个程序在 SciTE 中执行。它在 PowerShell/cmd 中运行良好,但如果我尝试在 SciTE 中执行它,我不会得到第一个打印输出,并且提供输入什么也不做。即使我停止执行,它也永远不会结束。我必须进入任务管理器并结束程序。我以前也遇到过这个问题,但那是因为我打错了。我不知道我在这里打错了什么:

0 投票
0 回答
250 浏览

python - scite python导入不起作用

几周以来我一直在用 Python 做一个简单的项目,我在 Win7 上使用 Python 2.7 和 SciTE

但是上周我不得不在我的电脑上进行一些更新,因为导入不起作用,而且之前所有这些都可以正常工作。我无法从 SciTE 和 cmd.exe 运行我的文件,但是当我在 Windows 资源管理器中双击 file.py 时,它工作正常。这样做很无聊,但它确实有效。

我的问题是,我想使用 cx_Freeze,但我需要通过键入从 cmd.exe 启动它

这是我得到的错误:

这是 setup.py:

cx_Freeze 已正确安装。

我不认为我做错了什么,但这是可能的。你们中有些人遇到过这个问题或知道如何解决这个问题吗?

0 投票
0 回答
183 浏览

c - 在 Scite 中打开和编辑 ssh C 文件?

我现在正在上科学编程课程的介绍,并且我一直在我的 Mac 的终端窗口上完成我的绝大多数作业。控件非常令人沮丧,我在使用我在实验室中使用的 Scite 方面受到启发。所以我把它下载到我的电脑上,但是,对于我的生活,我无法弄清楚文件保存在哪里。我可以分别在 Scite 和终端中创建文件,但我无法在其他编辑器上访问它们。如何在终端中创建文件,在 scite 上对其进行编辑,然后在终端上重新编译?我可以在实验室的计算机上很好地做到这一点,但由于某种原因,我不能在我自己的计算机上做到这一点。

0 投票
1 回答
71 浏览

replace - SciTE - 每找到两个替换字符串

我使用 SciTE 作为我的文本编辑器,主要面向 LaTeX 和 C++ 编程。

我目前的问题是我想用 \[ \] LaTeX 替换 $$ $$ TeX 显示数学符号。鉴于无法以 TeX 的方式区分开头和结尾,这意味着我必须在文档中找到第一个 $$,然后用 \[ 替换它。跳过下一个,然后再次更换。再次跳过,依此类推。

SciTE 有没有一种方法可以轻松地实现自动化?我的意思是,找到第一个 $$ 并说,用 \[ 每找到两个 $$ 替换。然后我可以用 \] 批量替换剩下的每个 $$。还是我必须使用其他编辑器,或者制作自定义脚本?我记得过去曾这样做过,也许是用 Gedit,但现在我似乎无法做到这一点,甚至没有在互联网上搜索。

0 投票
1 回答
422 浏览

manifest - 如何使用 AutoItWrapper 设置空文件描述?

当我添加这个包装指令时,它会改变我的可执行文件的描述字段。但是当我把它留空(或省略指令)时,它的值默认为Aut2Exe.

我怎样才能改变这种行为?AutoIt3Wrapper.exe 是否有一个参数将其留空?这是 SciTE 执行的编译命令:

0 投票
1 回答
5643 浏览

python - “列表”对象没有属性“更新”

我是使用 Python 的 SciTE 的新成员和新手程序员。我有一个项目,我必须制作一个游戏,其中涉及保持动画人物跳千斤顶的时间,我正在尝试运行它,只是为了表明我的列表对象在引擎功能中没有“更新” . 我有一段很长的代码。我试图找出问题所在。

定时器类:

引擎:

追溯:

0 投票
1 回答
1706 浏览

c++ - 未定义对 `WinMain@16' 的引用

我有一个非常简单的程序外壳。我使用的编辑器是 Scite,我的编译器是 MingW。

答案是我缺少一个 main,但我确实有一个 main()。

主文件

钱.cpp

钱.h

每次我尝试编译 Money.cpp 它都会给我错误

libmingw32.a(main.o):(.text.startup+0xa7): undefined reference to `WinMain@16'

而且我不确定程序有什么问题。所有文件都在同一个目录中。我对 C++ 编程相当陌生,所以如果你能给我一个非常基本的答案或修复它,将不胜感激。

0 投票
1 回答
187 浏览

scintilla - The Scite open filter is not working properly, how do I get the open dialog drop down menu showing filters?

In Scite text editor there is a global properties file shipped with the editor. I downloaded Scite latest version from the website but when I open the open dialog in scite, not all the filters show up in the drop down menu. For example, verilog, TeX, and many more filters do not show up, even though they are enabled in the sciteglobal.properties file under open.filter

Is this a bug in scite or am I missing something?

For example some filters that do work are perl, lua, ada - but tex, verilog, pascal, and more do not show up in the drop down. They are not commented out in the global properties file.

A temporary work around is to move them around to different spots in the global properties file. for example if I move them to non alphabetical order and put them at the very top, they seem to be enabled.

I know the ALL SOURCE files filter is limited to 256 characters or something similar, but the individual filters should not be limited in the drop down menu and they should not be missing.. right?

I compiled scite from the source code myself, and it has the same problem. Or is there something as designed that I am missing and this is not a bug?

0 投票
1 回答
882 浏览

javascript - 我正在使用 AutoIt V3 编写脚本,但在检查元素时找不到“对象名称”

我是脚本的新手,我正在编写一些东西,这些东西会让我登录到我的 facebook,然后去朋友墙并为他们发布一些东西。我被困在最后一部分。我无法获取“发布”按钮的对象名称。

有人可以帮我完成我的代码吗?

这是我在“发布”按钮上单击检查元素时得到的代码:

我认为这是我遇到问题的线路:

0 投票
0 回答
293 浏览

editor - Scite4autohotkey 安装程序没有给我任何功能

当我使用作者网站上的安装程序时,我最终得到的程序似乎不支持自动热键编辑,没有语法hiliting,(甚至不是处理 .ahk 文件的语言),工具栏中没有 ahk 特定工具、调试器支持、帮助文件等。事实上,我唯一看到的是“帮助”菜单中的“关于...”已更改。

是否缺少某些设置,或者当前版本是否损坏?