editor

notepad++ nppgtag plugin shortcut

浪子不回头ぞ 提交于 2020-01-24 00:27:35
问题 I have installed npp plugins from sourceforge nppgtags on latest notepad++ version but i am not able to effectively use that. I am facing these problem Is there any shortcut for nppgtags plugin of notepad to search references, create DB, search definition and other command? On the sourceforge page the image of the plugin have 3 windows nppgtags doc-switcher tag-view but i am only getting nppgtags window. am i missing something here or i need to install some other plugin for effectively using

How can I use bullets and Numbering in Notepad++? [closed]

╄→гoц情女王★ 提交于 2020-01-22 17:31:47
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Is there a way I can have bullets and numbering in Notepadd++ for lists. 回答1: Notepad++ is just a text editor. As long as no-one implements a custom plugin that takes advantage of special unicode characters looking like bullets, you probably need to stick with "-" and "1)" kind of syntax. 回答2: Notepad++ doesn't

“Cannot create a method for an unnamed component”

回眸只為那壹抹淺笑 提交于 2020-01-22 14:28:03
问题 The following code (when registered in a package) gives us a component called TParentComponent registered in the pallet Test . However, when you create a Child object using the Property Editor (provided in the same code), the IDE displays the error message Cannot create a method for an unnamed component. What's strange is that the Child object does indeed have a name. Here's the source: unit TestEditorUnit; interface uses Classes, DesignEditors, DesignIntf; type TParentComponent = class;

How to catch a moment when the external editor of TOLEContainer has been closed?

你。 提交于 2020-01-22 02:03:52
问题 Borland Developer Studio 2006, Delphi: I have a TOLEContainer object with AllowInPlace=False. When the external editor is closed and changed my OLE object I have to do something with this OLE object inside TOLeContainer. The problem is I can't catch a moment when the external editor is closed. OnDeactivate event is not working. Probably I should change the source code of TOLEContainer adding this event myself, but I don't know where is the best place for it. Can you advice some method? 回答1: A

How to catch a moment when the external editor of TOLEContainer has been closed?

时间秒杀一切 提交于 2020-01-22 02:03:21
问题 Borland Developer Studio 2006, Delphi: I have a TOLEContainer object with AllowInPlace=False. When the external editor is closed and changed my OLE object I have to do something with this OLE object inside TOLeContainer. The problem is I can't catch a moment when the external editor is closed. OnDeactivate event is not working. Probably I should change the source code of TOLEContainer adding this event myself, but I don't know where is the best place for it. Can you advice some method? 回答1: A

TreeCellEditor: must select cell to edit even if ShouldSelectCell return false

穿精又带淫゛_ 提交于 2020-01-21 05:52:06
问题 I need to use custom cell renderer for my JTree to add some JLabel on each cell. And then allow the user to click on these label without needing to select the cell first. So, i've created a Renderer which return a JPanel that contains a DefaultTreeCellRenderer and 2 JLabel. public class TreeNodeRenderer extends DefaultTreeCellRenderer implements TreeCellRenderer { private JPanel panel1 = new JPanel(); private JLabel delete = new JLabel(""); private JLabel upload = new JLabel(""); public

js聊天框插入表情

随声附和 提交于 2020-01-18 08:20:38
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <style> *{margin:0;padding: 0;} ul{list-style: none;} .mcont{margin:100px 20px; height: 330px;width: 450px; position: relative;} .mcont ul{ overflow: hidden; width: 360px; position: absolute; left:0; top:-70px; display:none;} .mcont li{float:left;_display:inline; width: 32px; height: 32px; margin: 0 4px 4px 0; cursor: pointer;} </style> </head> <body> <div id="meditor" class="mcont"> <div class="mbar"><input type="button" value="图片" /></div> <div id="div" contenteditable="true" style="width:600px;height:300px;border

Indent multiple lines quickly in vi

て烟熏妆下的殇ゞ 提交于 2020-01-18 04:31:59
问题 It should be trivial, and it might even be in the help, but I can't figure out how to navigate it. How do I indent multiple lines quickly in vi? 回答1: Use the > command. To indent five lines, 5 > > . To mark a block of lines and indent it, V j j > to indent three lines (Vim only). To indent a curly-braces block, put your cursor on one of the curly braces and use > % or from anywhere inside block use > i B . If you’re copying blocks of text around and need to align the indent of a block in its

富文本编辑器bootstrap-wysiwyg

偶尔善良 提交于 2020-01-17 15:13:49
之前demo相关博客查看的,只有3.x多的版本才有这些图标显示出来。应该是某些属性是用的老的样式,新版的没研究先用这3.x版本的吧。 https://www.bootcdn.cn/font-awesome/ https://plugins.jquery.com/hotkeys/ 需要引入css: <link th:href="@{/css/bootstrap-combined.no-icons.min.css}" rel="stylesheet"/> <link th:href="@{/bootstrap-4.4.1-dist/css/bootstrap.min.css}" rel="stylesheet" type="text/css" /> <link th:href="@{/css/font-awesome.css}" rel="stylesheet"/> <link th:href="@{/css/index.css}" rel="stylesheet"/> js: <script th:src="@{/js/jquery-3.4.1.min.js}"></script> <!--键盘事件--> <script th:src="@{/js/jquery.hotkeys.js}"></script> <!--bootstrap.bundle.min.js此文件包含Popper

springboot mybatis多数据源配置

空扰寡人 提交于 2020-01-16 19:41:30
根据一个项目需求对数据进行转换,从一个数据库中读取数据,经过转换处理后转到另外一个数据库中。故考虑用到多数据源配置 github地址 application.properties server . port = 8082 # editor数据源 spring . datasource . editor . name = test spring . datasource . editor . driverClassName = org . postgresql . Driver spring . datasource . editor . jdbcUrl = jdbc : postgresql : / / 127.0 .0 .1 : 5432 / test spring . datasource . editor . username = postgres spring . datasource . editor . password = xxx # xd数据源 spring . datasource . xd . name = test1 spring . datasource . xd . jdbcUrl = jdbc : postgresql : / / 127.0 .0 .1 : 5432 / test1 spring . datasource . xd .