Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

emacs some part of the text read only

(defun make-region-read-only (start end)
  (interactive "*r")
  (let ((inhibit-read-only t))
    (put-text-property start end 'read-only t)))

(defun make-region-read-write (start end)
  (interactive "*r")
  (let ((inhibit-read-only t))
    (put-text-property start end 'read-only nil)))
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript is a compiled language 
Javascript :: reduce example 
Javascript :: change to kebabcase in javascript 
Javascript :: search for country name from api with react 
Javascript :: angular disabled spec.ts 
Javascript :: Callback after forEach completed 
Javascript :: enzym.debug 
Javascript :: javascript return strung 
Javascript :: faster filter array in JavaScript 
Javascript :: how to signup users without login in firebase js 
Javascript :: vscode new file crlf 
Javascript :: vscode nestjs ignore node_modules 
Javascript :: threee.js camera to point 
Javascript :: New year chaos solution 
Javascript :: javascript promise multi function error 
Javascript :: composer json schema download 
Javascript :: exit from jshell 
Javascript :: react clikc with ref 
Javascript :: concat not working javascript 
Javascript :: EventEmitter to emit a custom event 
Javascript :: getComments 
Javascript :: "json" is not defined 
Javascript :: creating theme.json fullsiteediting 
Javascript :: How to Define a Function using Function Declaration in javascript 
Javascript :: element non empty jquer y check 
Javascript :: GridFs Schema 
Javascript :: When defined as a method of an object, in a regular function this refers to the object 
Javascript :: Add Methods to a Constructor Function Using Prototype 
Javascript :: react native uncaught error main has not been registered stackoverflow 
Javascript :: vscode react must be in scope when using JSX - eslint 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =